pub async fn find_users_for_picker(
configuration: &Configuration,
query: &str,
max_results: Option<i32>,
show_avatar: Option<bool>,
exclude: Option<Vec<String>>,
exclude_account_ids: Option<Vec<String>>,
avatar_size: Option<&str>,
exclude_connect_users: Option<bool>,
) -> Result<FoundUsers, Error<FindUsersForPickerError>>
Expand description
Returns a list of users whose attributes match the query term. The returned object includes the html
field where the matched query term is highlighted with the HTML strong tag. A list of account IDs can be provided to exclude users from the results. This operation takes the users in the range defined by maxResults
, up to the thousandth user, and then returns only the users from that range that match the query term. This means the operation usually returns fewer users than specified in maxResults
. To get all the users who match the query term, use Get all users and filter the records in your code. This operation can be accessed anonymously. Permissions required: Browse users and groups global permission. Anonymous calls and calls by users without the required permission return search results for an exact name match only.