deleteUser
This method allows deactivating a user. To do so, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web\wwwroot\ws\java\admin\DeleteUserRequestType.java |
Return | web\wwwroot\ws\java\admin\DeleteUserResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
ID | X | User ID. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:deleteUser>
<urn:ID>?</urn:ID>
</urn:deleteUser>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
Return | SUCCESS: Primary key of the user (CDUSER) FAILURE: -1 |
Status | SUCCESS: SUCCESS FAILURE: FAILURE |
Detail | SUCCESS: Record(s) deleted FAILURE: message regarding the error that occurred. |
Code | SUCCESS: 1. FAILURE: Code regarding the error that occurred: ▪ 7 - Null user ID. ▪ 12 - Inexistent user. |