The usersAndGroupsForChangingUserAccess() GraphQL query field is used to users and groups for changing user access.

For more information on user authorization, see the Managing Users & Permissions documentation page.

Syntax

Below is the syntax for the usersAndGroupsForChangingUserAccess() query field:

graphql
usersAndGroupsForChangingUserAccess(
      search: string
      searchDomainId: string!
      skip: integer = 0
      limit: integer = 50
   ): UsersAndGroupsSearchResultSet!

Returned Datatypes

The returned datatype UsersAndGroupsSearchResultSet has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: UsersAndGroupsSearchResultSet

ParameterTypeRequired[a]DefaultDescription
totalResultsintegeryes The total number of matching results.
results[UserOrGroup]yes The results sets of users and groups. This is a union between two other datatypes: Group or User. See the Group and User Tables.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.