createUser
Creates a user name.
Applies to Clouds and Integration Appliances.
Parameters:
- username
- The user ID to create.
- password
- The password for username.
- displayName
- The name to display in the WMC.
- The email address for username.
- Returns:
- True if the username was successfully created.
Examples:
The following code is an example
of a SOAP request to create 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>8F059BEEA3611033D277773A95404641</sec:sessionId>
</soapenv:Header>
<soapenv:Body>
<sec:createUser>
<sec:username>webman</sec:username>
<sec:password>Connect2WS</sec:password>
<sec:displayName>WebServiceUser</sec:displayName>
<sec:email>webman@mycompany.com</sec:email>
</sec:createUser>
</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:createUserResponse 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:createUserResponse>
</S:Body>
</S:Envelope>