User API ability to filter users by role

refs #3446

- This only covers the API changes needed for #3446