get-user-roles
Fetch all directly assigned roles for a user in a Keycloak realm, returning realm and client mappings to identify permission scopes.
Instructions
Get all roles directly assigned to a user, returned as { realmMappings, clientMappings }
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| userId | Yes | User ID |