disableUser
This method allows disabling/enabling a user. To use it, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web\wwwroot\ws\java\admin\DisableUserRequestType.java |
Return | web\wwwroot\ws\java\admin\DisableUserResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
codes | X | ID of the user to be enabled/disabled. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:disableUser>
<urn:cd>
<!--Zero or more repetitions:-->
<urn:codes>?</urn:codes>
</urn:cd>
</urn:disableUser>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
return | SUCCESS: 0. FAILURE: -1 |
Status | SUCCESS: SUCCESS FAILURE: FAILURE |
Code | SUCCESS: 1. FAILURE: Code regarding the error that occurred. |
Code | Description |
---|---|
7 | Null user ID. |
12 | Inexistent user. |
20 | At least one record was not enabled/disabled successfully. Using this web service to enable/disable multiple users in one same call is depreciated. Use the web service once for each user. |