userExists
指定された username が存在するかどうかを確認します。
Cloud および 統合アプライアンス に適用されます。
パラメーター:
- username
- 確認対象の username。
- 戻り:
- username が存在する場合は true。
例:
以下の例は、ユーザーが存在するかどうかを確認するための SOAP 要求です。要求に対する入力データは、セッション ID と 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>
以下は、要求に対する SOAP 応答の例です。
<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>