ServicePRO SDK Help

RequestServicesManager..::..FindFolders Method

Finds the folders for specific user.

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

Syntax


public void FindFolders(
	string userSessionKey,
	int userId,
	bool isTeam,
	string searchText,
	Action<ObservableCollection<HierarchyItem>, Exception> callbackAction
)
Public Sub FindFolders ( _
	userSessionKey As String, _
	userId As Integer, _
	isTeam As Boolean, _
	searchText As String, _
	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.
userId
Type: Int32
The user identifier.
isTeam
Type: Boolean
set to true if searching for team.
searchText
Type: String
The search text.
callbackAction
Type: Action<(Of <(<'ObservableCollection<(Of <(<'HierarchyItem>)>)>, Exception>)>)>
The callback action.