Schema Documentation
userRole
Description
Returns a user role
Response
Returns a UserRole
Arguments
Name | Description |
---|---|
id - ID! | The globally unique identifier of the user object. |
Example
Query
query userRole($id: ID!){ userRole(id: $id){ capabilitiesdisplayNameidisRestrictedname }}
Variables
{"id":4}
Response
{"data":{"userRole":{"capabilities":["xyz789"],"displayName":"xyz789","id":"4","isRestricted":true,"name":"abc123"}}}