Skip to main content

organizationRoles Query

Returns a list of Organization Role objects.

Access is permitted when any of the following condition(s) are met: 1. The Role level is less than that of the signed-in User's Role.

Input fields#

ArgumentTypeDescription

Return fields ([Role]!)#

id (ID!)#

The ID of the object.

name (String!)#

The name of the Role. Must be unique within the context of the AuthObjectType.

description (String!)#

Description of the Role.

objType (AuthObjectType!)#

The type of object that the Role is associated with.

permissions (PermissionConnection!)#

List of Permissions that the Role provides.

level (Int!)#

An integer that specifies the level of privilege with respect to other Roles.

allowUpdate (Boolean!)#

Specifies whether the signed-in User can update the Role.

allowRemove (Boolean!)#

Specifies whether the signed-in User can remove the Role.