anyone knows how to change user API arguments

For Example
When I populate the users' list from the dropdown field I need to restrict based on loading the users' list with particular roles.