createUser
ユーザー名を作成します。
Cloud および 統合アプライアンス に適用されます。
パラメーター:
- username
- 作成するユーザー ID。
- password
- username のパスワード。
- displayName
- WMC での表示名。
- username の E メール・アドレス。
- 戻り:
- username が正常に作成された場合は true。
例:
以下のコードは、ユーザーを作成するための SOAP 要求の例です。
<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>
以下は、要求に対する SOAP 応答の例です。
<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>