Websydian v6.1 online documentationOnline documentation - WebsydianExpress v3.5

API: Session.IsAuthorizedForRole

Scoped Name

APIServer.Session.IsAuthorizedForRole

Interface

Field Variable ...as Description
RoleSurrogate CheckKey Input The unique identification of the role.
SessionSurrogate CheckKey Input The unique identification of the session.

Description

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.

Events

Universal events