disableUser
Disables a username. A disabled username cannot authenticate.
Applies to Clouds and Integration Appliances.
Parameter:
- username
- The username to disable.
- Returns:
- True if the user was successfully disabled.
Examples:
The following example is a SOAP
request to disable a user.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sec="http://www.approuter.com/schemas/2008/1/security">
<soapenv:Header>
<sec:sessionId>BAB25F1A2A1ADCC0BB0D455D41354509</sec:sessionId>
</soapenv:Header>
<soapenv:Body>
<sec:disableUser>
<sec:username>webman</sec:username>
</sec:disableUser>
</soapenv:Body>
</soapenv:Envelope>
The following example is
the SOAP reply to the request.
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:disableUserResponse xmlns:ns2="http://www.approuter.com/
schemas/2008/1/security" xmlns:ns3="http://www.approuter.com/schema/
router/1000/security/03">
<ns2:success>true</ns2:success>
</ns2:disableUserResponse>
</S:Body>
</S:Envelope>