Class CsSessionManager
Allows the creation and removal of CS session through NetServer.
Inheritance
System.Object
CsSessionManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SuperOffice.CRM.CS
Assembly: SoDataBase.dll
Syntax
public static class CsSessionManager
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 |