Skip to main content

RoleDefinition

No description

type RoleDefinition {
id: ID!
name: String!
descriptions: [LocalizedString!]!
defaultAccess: RoleAccess!
createdAt: DateTime!
lastModifiedAt: DateTime!
createdBy: Int
lastModifiedBy: Int
roles(
userId: Int!
): [Role!]!
}

Fields

RoleDefinition.id ● ID! non-null scalar

The unique identifier of the role definition

RoleDefinition.name ● String! non-null scalar

The domain name of the role definition

RoleDefinition.descriptions ● [LocalizedString!]! non-null object

The descriptions of the role definition

RoleDefinition.defaultAccess ● RoleAccess! non-null enum

The default access for the role definition

RoleDefinition.createdAt ● DateTime! non-null scalar

Creation date

RoleDefinition.lastModifiedAt ● DateTime! non-null scalar

Last modified date

RoleDefinition.createdBy ● Int scalar

RoleDefinition.lastModifiedBy ● Int scalar

RoleDefinition.roles ● [Role!]! non-null object

RoleDefinition.roles.userId ● Int! non-null scalar

Returned By

roleDefinition query ● roleDefinitionCreate mutation ● roleDefinitionUpdate mutation

Member Of

Role object ● RoleDefinitionResponse object