ServicePRO SDK Help

LoginServiceManager..::..PrepareEmptyUserSession Method

Removes the user session.

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

Syntax


public void PrepareEmptyUserSession(
	string cultureName,
	DateTime clientNow,
	string timeZoneName,
	TimeSpan clientUTCOffset,
	Action<stcSession, Exception> callbackAction
)
Public Sub PrepareEmptyUserSession ( _
	cultureName As String, _
	clientNow As DateTime, _
	timeZoneName As String, _
	clientUTCOffset As TimeSpan, _
	callbackAction As Action(Of stcSession, Exception) _
)

Parameters

cultureName
Type: String
The Client culture name.
clientNow
Type: DateTime
The Client datetime.
timeZoneName
Type: String
The Client datetime timezone.
clientUTCOffset
Type: TimeSpan
The Client datetime UTC offset.
callbackAction
Type: Action<(Of <(<'stcSession, Exception>)>)>
The callback action.(Exception will be null if success.)