users_with_role_assignments
Creates, updates, deletes, gets or lists a users_with_role_assignments resource.
Overview
| Name | users_with_role_assignments |
| Type | Resource |
| Id | okta.iam.users_with_role_assignments |
Fields
The following fields are returned by SELECT queries:
- list_users_with_role_assignments
| Name | Datatype | Description |
|---|---|---|
_links | object | Specifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. |
value | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_users_with_role_assignments | select | subdomain | after, limit | Lists 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.
| Name | Datatype | Description |
|---|---|---|
subdomain | string | The 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) |
after | string | Specifies the pagination cursor for the next page of targets |
limit | integer (int32) | Specifies the number of results returned. Defaults to 100. |
SELECT examples
- list_users_with_role_assignments
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 }}'
;