Navigation:  Integration via SOAP web services > Published web services > Document >

checkAccessPermission

Previous  Top  Next

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 arrowrgray Edit;

2 arrowrgray Delete;

3 arrowrgray Revise;

4 arrowrgray Acknowledgment;

5 arrowrgray Distribute copy;

6 arrowrgray View;

7 arrowrgray Cancel;

8 arrowrgray Archive;

9 arrowrgray Print;

10 arrowrgray Training;

11 arrowrgray Create training;

12 arrowrgray Save locally;

13 arrowrgray Sign;

14 arrowrgray Notification;

15 arrowrgray Add comment;

16 arrowrgray Evaluate applicability.

 

Return

ID #

Description

return

SUCCESS: 1: Access allowed

FAILURE: 0: Message with error.