userExists
Checks if the specified username exists.
Applies to Clouds and Integration Appliances.
Parameter:
- username
- The username for which the check is made.
- Returns:
- True if the username exists.
Examples:
The following example is a SOAP
request to check if a user exists. The input for the request is the
session ID and the username.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sec="http://www.approuter.com/schemas/2008/1/security">
<soapenv:Header>
<sec:sessionId>99E1848F7661D4FC066AD5F97AB44C0C</sec:sessionId>
</soapenv:Header>
<soapenv:Body>
<sec:userExists>
<sec:username>webman</sec:username>
</sec:userExists>
</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:userExistsResponse xmlns:ns2="http://www.approuter.com/
schemas/2008/1/security" xmlns:ns3="http://www.approuter.com/schema/
router/1000/security/03">
<ns2:userExists>true</ns2:userExists>
</ns2:userExistsResponse>
</S:Body>
</S:Envelope>