pub async fn find_users_with_all_permissions(
configuration: &Configuration,
permissions: &str,
query: Option<&str>,
username: Option<&str>,
account_id: Option<&str>,
issue_key: Option<&str>,
project_key: Option<&str>,
start_at: Option<i32>,
max_results: Option<i32>,
) -> Result<Vec<User>, Error<FindUsersWithAllPermissionsError>>
Expand description
Returns a list of users who fulfill these criteria: * their user attributes match a search string. * they have a set of permissions for a project or issue. If no search string is provided, a list of all users with the permissions is returned. This operation takes the users in the range defined by startAt
and maxResults
, up to the thousandth user, and then returns only the users from that range that match the search string and have permission for the project or issue. This means the operation usually returns fewer users than specified in maxResults
. To get all the users who match the search string and have permission for the project or issue, use Get all users and filter the records in your code. This operation can be accessed anonymously. Permissions required: * Administer Jira global permission, to get users for any project. * Administer Projects project permission for a project, to get users for that project.