ServicePRO SDK Help

RequestServicesManager..::..GetFolderAssignments Method

Gets the folder assignment information.

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

Syntax


public void GetFolderAssignments(
	string userSessionKey,
	int folderId,
	bool hasPassDirect,
	clsEnumeration..::..AssignmentType assignmentType,
	Action<ObservableCollection<HierarchyItem>, Exception> callbackAction
)
Public Sub GetFolderAssignments ( _
	userSessionKey As String, _
	folderId As Integer, _
	hasPassDirect As Boolean, _
	assignmentType As clsEnumeration..::..AssignmentType, _
	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.
folderId
Type: Int32
The folder identifier.
hasPassDirect
Type: Boolean
set to true if loading formation for current user.
assignmentType
Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..AssignmentType
Assignment type information.
callbackAction
Type: Action<(Of <(<'ObservableCollection<(Of <(<'HierarchyItem>)>)>, Exception>)>)>
The callback action.