UserTaskRepositoryValidateFileAndRecordAccess Method |
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.RepositoriesAssembly: Scanjour.Workflow4.Web.Services (in Scanjour.Workflow4.Web.Services.dll) Version: 24.5.0.0 (24.5.0.0)
Syntaxpublic bool ValidateFileAndRecordAccess(
Uri oDataUri,
string taskId
)
Public Function ValidateFileAndRecordAccess (
oDataUri As Uri,
taskId As String
) As Boolean
public:
bool ValidateFileAndRecordAccess(
Uri^ oDataUri,
String^ taskId
)
member ValidateFileAndRecordAccess :
oDataUri : Uri *
taskId : string -> bool
Parameters
- oDataUri Uri
- The Odata Uri.
- taskId String
- The user task id.
Return Value
Booleanreturn 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