deleteUserAcessGroup
This method allows deleting a relationship between the user and access group. To do so, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web\wwwroot\ws\java\admin\DeleteUserDepartmentAcessGroupRequestType.java |
Return | web\wwwroot\ws\java\admin\DeleteUserAcessGroupResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
ID | X | User ID. |
IDACCGROUP | X | Access group ID # |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:deleteUserAccessGroup>
<!--You may enter the following 2 items in any order-->
<urn:USERID>?</urn:USERID>
<urn:IDACCGROUP>?</urn:IDACCGROUP>
</urn:deleteUserAccessGroup>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
Return | SUCCESS: Primary key of the access user (CDGROUP) FAILURE: -1 |
Status | SUCCESS: SUCCESS FAILURE: FAILURE |
Detail | SUCCESS: Operation successfully performed. FAILURE: message regarding the error that occurred. |
Code | SUCCESS: 1. FAILURE: Code regarding the error that occurred: ▪ 2 - Inexistent access group. ▪ 7 - Null user ID #. ▪ 12 - Inexistent user. ▪ 55 - Access group ID # not entered. ▪ 72 - There is no association between the user and the access group. |