Class CsSessionManager
Allows the creation and removal of CS session through NetServer.
Inheritance
System.Object
CsSessionManager
Namespace: SuperOffice.CRM.CS
Assembly: SoDataBase.dll
Syntax
public static class CsSessionManager : Object
Methods
CreateCsSession(String, CsLoginOrigin, out String, out Int32, out Int32)
Creates a new CS session
Declaration
public static void CreateCsSession(string remoteIp, CsLoginOrigin loginOrigin, out string sessionKey, out int loginId, out int userId)
Parameters
Type | Name | Description |
---|---|---|
System.String | remoteIp | |
CsLoginOrigin | loginOrigin | |
System.String | sessionKey | |
System.Int32 | loginId | |
System.Int32 | userId |
RemoveSession(Int32)
Removes an existing CS session based on the login id.
Declaration
public static void RemoveSession(int loginId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | loginId |