Class CsSessionManager
Allows the creation and removal of CS session through NetServer.
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 |
|---|---|---|
| String | remoteIp | |
| CsLoginOrigin | loginOrigin | |
| String | sessionKey | |
| Int32 | loginId | |
| 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 |
|---|---|---|
| Int32 | loginId |