ServicePRO SDK Help

LoginServiceManager..::..RemoveUserSession Method

Removes the user session.

Namespace:  ServicePRO.Sdk.Windows.Managers
Assembly:  ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)

Syntax


public void RemoveUserSession(
	string userSessionKey,
	Action<Object, Exception> callbackAction
)
Public Sub RemoveUserSession ( _
	userSessionKey As String, _
	callbackAction As Action(Of Object, Exception) _
)

Parameters

userSessionKey
Type: String
User’s Session Key.
Key property of the User Session Object of type stcSession.
The User Session has to be established by making a call to InitializeSystemAndSession() method in CoreServicesManager class as a first step with using ServicePRO SDK.
callbackAction
Type: Action<(Of <(<'Object, Exception>)>)>
The callback action.(Exception will be null if success.)