ReadAppRoleInstance
Defined in: runtime/app.ts:16
Extends
Section titled “Extends”BaseRoleInstance
Extended by
Section titled “Extended by”Properties
Section titled “Properties”
readonlyprn:string
Defined in: runtime/role.ts:5
Inherited from
Section titled “Inherited from”BaseRoleInstance.prn
Methods
Section titled “Methods”assertRole()
Section titled “assertRole()”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.
Returns
Section titled “Returns”true
checkRole()
Section titled “checkRole()”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.
Returns
Section titled “Returns”boolean