Skip to main content

roles

Reads a set of Role.

roles(
first: Int
offset: Int
orderBy: [RolesOrderBy!]
condition: RoleCondition
filter: RoleFilter
): [Role!]

Arguments​

roles.first ● Int scalar​

Only read the first n values of the set.

roles.offset ● Int scalar​

Skip the first n values.

roles.orderBy ● [RolesOrderBy!] list enum​

The method to use when ordering Role.

roles.condition ● RoleCondition input​

A condition to be used in determining which values should be returned by the collection.

roles.filter ● RoleFilter input​

A filter to be used in determining which values should be returned by the collection.

Type​

Role object​

A workspace-defined RBAC role. Every role — seeded preset or custom — lives here; a member's effective permissions are the union of the roles assigned to them through workspace_account_role.