## Path: / admin / realms / {realm} / users / {username} / role-mappings

Get role mappings for this user

Path parameters:
  realm - realm name (not id!)
  username - username (not id!)

Sub-Resources

  Resources
  Name | Description
  --- | ---
  applications ↳ applications/{app} | Get application-level role mappings for this user for a specific app
  applications-by-id ↳ applications-by-id/{appId} | Get application-level role mappings for this user for a specific app
  realm | Get realm-level role mappings for this user

Resource Methods

  Method Summary
  Name | Description
  --- | ---
  `GET /admin/realms/{realm}/users/{username}/role-mappings` | Get role mappings for this user

Method Detail
### GET /admin/realms/{realm}/users/{username}/role-mappings Get role mappings for this user
  HTTP Example:
      GET /admin/realms/{realm}/users/{username}/role-mappings
| API Example: `UsersResource.getRoleMappings({'realm': /* name realm name (not id!) */, 'username': /* username username (not id!) */});`
Output: `MappingsRepresentation` - Produces: application/json