ServicePRO SDK Help

KnowledgeBaseServiceManager..::..GetUser Method

Gets the user information by identifier.

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

Syntax


public void GetUser(
	int userId,
	string userSessionKey,
	Action<stcUser, Exception> callbackAction
)
Public Sub GetUser ( _
	userId As Integer, _
	userSessionKey As String, _
	callbackAction As Action(Of stcUser, Exception) _
)

Parameters

userId
Type: Int32
The user identifier.
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 <(<'stcUser, Exception>)>)>
The callback action.