Skip to main content
Version: 29.0.x

Interface: CheckRolesResult

Defined in: src/api/entities/types.ts:702

Result of a checkRoles call

Properties​

message?​

optional message: string

Defined in: src/api/entities/types.ts:714

optional message explaining the reason for failure in special cases


missingRoles?​

optional missingRoles: Role[]

Defined in: src/api/entities/types.ts:706

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


result​

result: boolean

Defined in: src/api/entities/types.ts:710

whether the signer possesses all the required roles or not