ServicePRO SDK Help

ManageObjectsServicesManager..::..RetireRole Method

Retires the role.

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

Syntax


public void RetireRole(
	string sessionKey,
	int Id,
	bool Commit,
	Action<string, bool, Exception> callbackAction
)
Public Sub RetireRole ( _
	sessionKey As String, _
	Id As Integer, _
	Commit As Boolean, _
	callbackAction As Action(Of String, 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
The role identifier.
Commit
Type: Boolean
set to true if commit the transaction.
callbackAction
Type: Action<(Of <(<'String, Boolean, Exception>)>)>
The callback action.