RequestServicesManager..::..GetSupportRepTree Method
Gets the support Rep tree data collection.
Namespace:
ServicePRO.Sdk.Windows.ManagersAssembly: ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)
Syntax
public void GetSupportRepTree( string userSessionKey, clsEnumeration..::..hsListControlItem listControlItem, clsEnumeration..::..hsPrivilege userPrivilege, bool includeTeam, Action<ObservableCollection<HierarchyItem>, Exception> callbackAction )
Public Sub GetSupportRepTree ( _ userSessionKey As String, _ listControlItem As clsEnumeration..::..hsListControlItem, _ userPrivilege As clsEnumeration..::..hsPrivilege, _ includeTeam As Boolean, _ callbackAction As Action(Of ObservableCollection(Of HierarchyItem), 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.
- listControlItem
- Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsListControlItem
The list control item type.
- userPrivilege
- Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsPrivilege
The user privilege information.
- includeTeam
- Type: Boolean
set to true if need to include team information in result collection.
- callbackAction
- Type: Action<(Of <(<'ObservableCollection<(Of <(<'HierarchyItem>)>)>, Exception>)>)>
The callback action.