Skip to main content
Version: 22.1.x

Interface: CheckRolesResult

types.CheckRolesResult

Result of a checkRoles call

Properties

message

Optional message: string

optional message explaining the reason for failure in special cases

Defined in

types/index.ts:1044


missingRoles

Optional missingRoles: Role[]

required roles which the Identity DOESN'T have. Only present if result is false

Defined in

types/index.ts:1036


result

result: boolean

whether the signer possesses all the required roles or not

Defined in

types/index.ts:1040