ServicePRO SDK Help

ManageObjectsServicesManager..::..GetOrganizationalHierarchy Method

Gets the collection of organizational hierarchy.

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

Syntax


public void GetOrganizationalHierarchy(
	string sessionKey,
	string sPhrase,
	clsEnumeration..::..hsDPMatch hMatch,
	int UserId,
	bool isAuthorize,
	clsEnumeration..::..hsQueueView QueueView,
	Action<HierarchyItemCollection, Exception> callbackAction
)
Public Sub GetOrganizationalHierarchy ( _
	sessionKey As String, _
	sPhrase As String, _
	hMatch As clsEnumeration..::..hsDPMatch, _
	UserId As Integer, _
	isAuthorize As Boolean, _
	QueueView As clsEnumeration..::..hsQueueView, _
	callbackAction As Action(Of HierarchyItemCollection, 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.
sPhrase
Type: String
The phrase string.
hMatch
Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsDPMatch
The match type.
UserId
Type: Int32
The user identifier.
isAuthorize
Type: Boolean
set to true if this user is authorized.
QueueView
Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsQueueView
The queue view.
callbackAction
Type: Action<(Of <(<'HierarchyItemCollection, Exception>)>)>
The callback action.