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

API: Session.RemoveAllRoles

Scoped Name

APIServer.Session.RemoveAllRoles

Interface

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

Description

Remove all roles from the session. Use this API if you want to clear the roles on a session before assigning new roles to a session - or if you want to ensure that the session has no access at all to the site.

Events

WSE0036 - Session not found

Universal events