Online documentation - WebsydianExpress v3.5 |
APIServer.Session.IsAuthorizedForRole
Field | Variable | ...as | Description |
---|---|---|---|
RoleSurrogate | CheckKey | Input | The unique identification of the role. |
SessionSurrogate | CheckKey | Input | The unique identification of the session. |
Check whether the session is authorized for the specified role. This can be used if you have functionality/content in your business process that depends on whether a specific role is assigned to the session.
The Environment<*Returned status> is successful if the session is authorized for the role.