Skip to main content

roleTypes

Get all role types available in the system. Optionally filter by domain and party type.

You need to have the permissions get_role_types to access this query, and only system admins can access the role types from the SYSTEM domain.

roleTypes(
domain: DomainEnum
partyType: PartyTypeEnum
): [RoleType!]!

Arguments

roleTypes.domain ● DomainEnum enum

Domain to get role types for. If specified, only roles from that domain will be returned.

roleTypes.partyType ● PartyTypeEnum enum

Party type to get role types for. If specified, only roles allowed for that party type will be returned.

Type

RoleType object