ServicePRO SDK Help

RequestServicesManager..::..ValidateAssignFolder Method

Validates whether the folder is able to assign to a user.

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

Syntax


public void ValidateAssignFolder(
	string userSessionKey,
	int folderId,
	int userTeamId,
	bool isTeam,
	Action<bool, bool, Exception> callbackAction
)
Public Sub ValidateAssignFolder ( _
	userSessionKey As String, _
	folderId As Integer, _
	userTeamId As Integer, _
	isTeam As Boolean, _
	callbackAction As Action(Of Boolean, Boolean, 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.
userTeamId
Type: Int32
The user team identifier.
isTeam
Type: Boolean
set to true if this is team folder.
callbackAction
Type: Action<(Of <(<'Boolean, Boolean, Exception>)>)>
The callback action.