ObjectDesignerManager..::..GetRolesForTreeGrid Method
Gets the collection of roles.
Namespace:
ServicePRO.Sdk.Windows.ManagersAssembly: ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)
Syntax
public void GetRolesForTreeGrid( string userSessionKey, Action<ObservableCollection<stcRoleInfo>, Exception> callbackAction )
Public Sub GetRolesForTreeGrid ( _ userSessionKey As String, _ callbackAction As Action(Of ObservableCollection(Of stcRoleInfo), Exception) _ )
Parameters
- 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 <(<'ObservableCollection<(Of <(<'stcRoleInfo>)>)>, Exception>)>)>
The callback action.