ManageObjectsServicesManager..::..SaveRole Method
Saves the role structure to database.
Namespace:
ServicePRO.Sdk.Windows.ManagersAssembly: ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)
Syntax
public void SaveRole( string sessionKey, stcRole role, Action<stcServiceResult, Exception> callbackAction )
Public Sub SaveRole ( _ sessionKey As String, _ role As stcRole, _ callbackAction As Action(Of 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.
- role
- Type: HelpSTAR.PCL.Common..::..stcRole
The role structure.
- callbackAction
- Type: Action<(Of <(<'stcServiceResult, Exception>)>)>
The callback action.