SearchUsersByRolesRequest

SearchUsersByRolesRequest
SearchUsersByRolesRequest

Search users by roles and/or resource.

JSON Example
{
    "excludeRoles": false,
    "expandProfile": false,
    "includeGroupIdsInRoles": false,
    "pageLimit": 0,
    "pageStart": 0,
    "resource": "string",
    "resourceStartsWith": "string",
    "rolesSearchTerm": {
        "customRoles": [
            {
                "roleName": "string"
            }
        ],
        "orgRoles": [
            {
                "roleName": "string"
            }
        ],
        "serviceRoles": [
            {
                "serviceDefinitionId": "string",
                "serviceRoles": [
                    {
                        "roleName": "string"
                    }
                ]
            }
        ]
    },
    "searchType": "string",
    "userSearchTerm": "string"
}
boolean
excludeRoles
Optional

Indicates if the response should exclude the roles of the user (default: false).

boolean
expandProfile
Optional

Indicates if the response should be expanded with the user profile (default: false).

boolean
includeGroupIdsInRoles
Optional

Indicates if the inherited roles in the response should indicate group information (default: false).

integer As int32 As int32
pageLimit
Optional

Maximum number to return in response. Default value is 200.

integer As int32 As int32
pageStart
Optional

Start index for querying. Default value is 1.

string
resource
Optional

Resource to search for resource-scoped role assignments.

string
resourceStartsWith
Optional

Resource to search for resource-scoped role assignments starting with given term. This field is deprecated. Consider using "resource" along with "searchType".

rolesSearchTerm
Optional

Defines the roles properties which are used for search.

string
searchType
Optional

Defines the searching capability of the "resource" field value.

Possible values are : EXACT_MATCH, CONTAINS, STARTS_WITH, ENDS_WITH,
string
userSearchTerm
Optional

The string to be searched within email or firstName or lastName or username.Max search length is 120 characters. If it contains space separated terms, then the searchTerm is matched against possible firstName and lastName combinations. This search term is case insensitive.