isUserEnabled
Checks to see if the specified username is enabled. An enabled user is authenticated.
Applies to Clouds and Integration Appliances.
Parameter:
- username
- The username to be checked.
- Returns:
- True if the specified username is enabled.
Examples:
The following example is a SOAP
request to check if the specified user is enabled.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sec="http://www.approuter.com/schemas/2008/1/security">
<soapenv:Header>
<sec:sessionId>A85C21BB99E816D48800C90B2C5547D4</sec:sessionId>
</soapenv:Header>
<soapenv:Body>
<sec:isUserEnabled>
<sec:username>webman</sec:username>
</sec:isUserEnabled>
</soapenv:Body>
</soapenv:Envelope>
The following example is
the SOAP response to the request.
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:isUserEnabledResponse xmlns:ns2="http://www.approuter.com/
schemas/2008/1/security" xmlns:ns3="http://www.approuter.com/schema/
router/1000/security/03">
<ns2:isUserEnabled>true</ns2:isUserEnabled>
</ns2:isUserEnabledResponse>
</S:Body>
</S:Envelope>