Top Method Summary
Options Name Purpose
# ActivateServerSession (EventArgs) Activates a server session
# DeactivateServerSession (EventArgs) Deactivates a server session
# HANDLE GetClientPrincipal () Returns the current client-principal object
# CHARACTER GetDomainName (handle) Returns the Domain Name of the client-principal
# CHARACTER GetSessionId (handle) Returns the Session ID of the client-principal
# CHARACTER GetUserId (handle) Returns the User ID of the client-principal

Top Constructor Summary
Options Name Purpose
+ RestServerSessionActivator () Constructor for the ServerSessionActivator class

Top Property Summary
Options Name Purpose
+ LOGICAL SetDbClient


Method Detail
Top

PROTECTED ActivateServerSession (EventArgs)

Purpose: Activates a server session
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED DeactivateServerSession (EventArgs)

Purpose: Deactivates a server session
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for this event
Top

PROTECTED HANDLE GetClientPrincipal ()

Purpose: Returns the current client-principal object
Notes: Method may be overridden to return a client-principal object
from a custom source. This implementation returns
SESSION:CURRENT-REQUEST-INFO:GetClientPrincipal() CURRENT-REQUEST-INFO:GetClientPrincipal()

Returns HANDLE
The handle of the client-principal object
Top

PROTECTED CHARACTER GetDomainName (handle)

Purpose: Returns the Domain Name of the client-principal
Notes: Allows overriding of the retrieval of the Domain Name

Parameters:
phPrincipal HANDLE
The current client-principal instance
Returns CHARACTER
The Domain Name Value
Top

PROTECTED CHARACTER GetSessionId (handle)

Purpose: Returns the Session ID of the client-principal
Notes: Allows overriding of the retrieval of the SessionId

Parameters:
phPrincipal HANDLE
The current client-principal instance
Returns CHARACTER
The Session ID Value
Top

PROTECTED CHARACTER GetUserId (handle)

Purpose: Returns the User ID of the client-principal
Notes: Allows overriding of the retrieval of the User ID

Parameters:
phPrincipal HANDLE
The current client-principal instance
Returns CHARACTER
The User ID Value


Constructor Detail
Top

PUBLIC RestServerSessionActivator ()

Purpose: Constructor for the ServerSessionActivator class
Notes:



Property Detail
Top

PUBLIC LOGICAL SetDbClient


Returns LOGICAL


©2006-2025 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       31.05.2025 16:58:37