This method enables to verify whether the user has permission to the document. To use it, it is necessary to follow the standard documented below:
Java class
|
Request
|
web/wwwroot/ws/java/document/CheckAccessPermissionRequestType.java
|
Return
|
web/wwwroot/ws/java/document/CheckAccessPermissionResponseType.java
|
Request
|
ID #
|
Required
|
Description
|
IDDOCUMENT
|
X
|
Document ID #.
|
IDUSER
|
X
|
User's reg. code #.
|
PERMISSIONSTYPE
|
X
|
Permission type:
1 Edit;
2 Delete;
3 Revise;
4 Acknowledgment;
5 Distribute copy;
6 View;
7 Cancel;
8 Archive;
9 Print;
10 Training;
11 Create training;
12 Save locally;
13 Sign;
14 Notification;
15 Add comment;
16 Evaluate applicability.
|
Return
|
ID #
|
Description
|
return
|
SUCCESS: 1: Access allowed
FAILURE: 0: Message with error.
|
|