ServicePRO SDK Help

ManageObjectsServicesManager..::..GetUserAndPrivileges Method

Gets specific user and his privileges.

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

Syntax


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