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

API: Session.AddRole

Scoped Name

APIServer.Session.AddRole

Interface

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

Description

Adds the role to the session. This extends the authorization of the session to include the site elements that is authorized by this role.

Events

WSE0036 - Session not found

WSE0100 - Role not found

WSE0120 - Session and Role in different sites

Universal events