Skip to main content
Version: 21.0.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:1046


missingRoles

Optional missingRoles: Role[]

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

Defined in

types/index.ts:1038


result

result: boolean

whether the signer possesses all the required roles or not

Defined in

types/index.ts:1042