ServicePRO SDK Help

ManageObjectsServicesManager..::..RetireUser Method

Retires the user.

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

Syntax


public void RetireUser(
	string sessionKey,
	int UserID,
	bool bDeleteFollowup,
	bool BypassValidation,
	Action<string, bool, bool, Exception> callbackAction
)
Public Sub RetireUser ( _
	sessionKey As String, _
	UserID As Integer, _
	bDeleteFollowup As Boolean, _
	BypassValidation As Boolean, _
	callbackAction As Action(Of String, Boolean, Boolean, Exception) _
)

Parameters

sessionKey
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.
UserID
Type: Int32
The user identifier.
bDeleteFollowup
Type: Boolean
set to true if also delete the follow up.
BypassValidation
Type: Boolean
set to true if bypass validation.
callbackAction
Type: Action<(Of <(<'String, Boolean, Boolean, Exception>)>)>
The callback action.