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 | |
---|---|
Request | web/wwwroot/ws/java/document/ListAccessPermissionRequestType.java |
Return | web/wwwroot/ws/java/document/ListAccessPermissionResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDDOCUMENT | X | Document ID #. |
IDUSER | X | User ID. |
IDCATEGORY | Document 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 |
---|---|
return | SUCCESS: Â 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 |