Skip to main content
Version: 2.2.2

listAccessPermission

This method allows verifying the access types the user has in the document. To use it, it is necessary to follow the standard documented below:

Java class
Requestweb/wwwroot/ws/java/document/ListAccessPermissionRequestType.java
Returnweb/wwwroot/ws/java/document/ListAccessPermissionResponseType.java

Request:

ID #RequiredDescription
IDDOCUMENTXDocument ID #.
IDUSERXUser ID.
IDCATEGORYDocument category ID #.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:document">
<soapenv:Header/>
<soapenv:Body>
<urn:listAccessPermission>
<!--You may enter the following 3 items in any order-->
<urn:iddocument>?</urn:iddocument>
<urn:iduser>?</urn:iduser>
<urn:idcategory>?</urn:idcategory>
</urn:listAccessPermission>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS:  Array with the permissions:
â–ª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 comments;
â–ª16 - Evaluate applicability.
FAILURE: 0: message with error