ServicePRO SDK Help

ManageObjectsServicesManager..::..CheckUserExist Method

Checks if the user name already exists.

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

Syntax


public void CheckUserExist(
	string sessionKey,
	int id,
	string name,
	Action<bool, Exception> callbackAction
)
Public Sub CheckUserExist ( _
	sessionKey As String, _
	id As Integer, _
	name As String, _
	callbackAction As Action(Of 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.
id
Type: Int32
User identifier.
name
Type: String
User name.
callbackAction
Type: Action<(Of <(<'Boolean, Exception>)>)>
The callback action.