Skip to main content

users_with_role_assignments

Creates, updates, deletes, gets or lists a users_with_role_assignments resource.

Overview

Nameusers_with_role_assignments
TypeResource
Idokta.iam.users_with_role_assignments

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
_linksobjectSpecifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification.
valuearray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_users_with_role_assignmentsselectsubdomainafter, limitLists all users with role assignments

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
subdomainstringThe domain of your organization. This can be a provided subdomain of an official okta domain (okta.com, oktapreview.com, etc) or one of your configured custom domains. (default: my-org)
afterstringSpecifies the pagination cursor for the next page of targets
limitinteger (int32)Specifies the number of results returned. Defaults to 100.

SELECT examples

Lists all users with role assignments

SELECT
_links,
value
FROM okta.iam.users_with_role_assignments
WHERE subdomain = '{{ subdomain }}' -- required
AND after = '{{ after }}'
AND limit = '{{ limit }}'
;