Online documentation - WebsydianExpress v3.0 |
APIServer.Session.AddRole
Field | Variable | ...as | Description |
---|---|---|---|
RoleSurrogate | Input | Input | The unique identification of the site. |
SessionSurrogate | Input | Input | The unique identification of the session. |
Adds the role to the session. This extends the authorization of the session to include the site elements that is authorized by this role.
WSE0036 - Session not found
WSE0100 - Role not found
WSE0120 - Session and Role in different sites