Skip to content

ReadAppRoleInstance

Defined in: runtime/app.ts:16

  • BaseRoleInstance

readonly prn: string

Defined in: runtime/role.ts:5

BaseRoleInstance.prn

assertRole(): true

Defined in: runtime/app.ts:21

Asserts that the current, active instance has the current role. If successful, this will return true. Otherwise it will throw an Error.

true


checkRole(): boolean

Defined in: runtime/app.ts:27

Checks that the current, active instance has the current role; returning true/false if that role is present.

boolean