find-users-with-role
Find users with a given role in Keycloak, supporting realm roles or client roles via optional clientId. Use first and max parameters to control result pagination.
Instructions
Find users with a realm role, or with a client role when clientId is given
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Maximum results | |
| first | No | First result index | |
| realm | Yes | Realm name | |
| clientId | No | Client ID to resolve roleName as a client role. Omit for a realm role | |
| roleName | Yes | Role name |