ServicePRO SDK Help

ManageObjectsServicesManager..::..SaveUser Method

Saves the user to HelpSTAR database.

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

Syntax


public void SaveUser(
	string sessionKey,
	stcUserDTO sUser,
	stcUserFieldsTableValue[] theUDFValues,
	bool isPasswordModified,
	Action<stcUser, stcServiceResult, Exception> callbackAction
)
Public Sub SaveUser ( _
	sessionKey As String, _
	sUser As stcUserDTO, _
	theUDFValues As stcUserFieldsTableValue(), _
	isPasswordModified As Boolean, _
	callbackAction As Action(Of stcUser, stcServiceResult, 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.
sUser
Type: HelpSTAR.PCL.Common..::..stcUserDTO
User structure.
theUDFValues
Type: array<stcUserFieldsTableValue>[]()[][]
Collection of stcUserFieldsTableValue.
isPasswordModified
Type: Boolean
set to true. If the password is modified.
callbackAction
Type: Action<(Of <(<'stcUser, stcServiceResult, Exception>)>)>
The callback action.