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

API: Session.SetAnonymousUserAndUpdate

Scoped Name

APIServer.Session.SetAnonymousUserAndUpdate

Interface

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

Description

Reads the anonymous user registered for the site. Uses the roles and folder list assigned to this user to update the session.

Events

WSE0017 - Error reading site

WSE0030 - User not found (the user registered as anonymous user does not exist)

WSE0036 - Session not found

WSE0103 - No folder list found

WSE0108 - No anonymous user for the session

WSE0135 - User for session can't be updated (the session already have an assigned user).

Universal events