UserTaskRepositoryValidateFileAndRecordAccess Method

Scanjour Workflow4 Reference Manual
Validation of user persmissions before calling report engine. Since reports are executed as system user it must be validated that the user has access before generating a report.

Namespace:  Scanjour.Workflow4.Web.Services.Repositories
Assembly:  Scanjour.Workflow4.Web.Services (in Scanjour.Workflow4.Web.Services.dll) Version: 23.3.0.0 (23.3.0.0)
Syntax

public bool ValidateFileAndRecordAccess(
	Uri oDataUri,
	string taskId
)

Parameters

oDataUri
Type: SystemUri
The Odata Uri.
taskId
Type: SystemString
The user task id.

Return Value

Type: Boolean
return true if the current user has read permissions to both the case and all documents on attached to any usertask on the current instance
See Also

Reference