getUser

指定された username のユーザーを取得します。

Cloud および 統合アプライアンス に適用されます。

パラメーター:

username
指定された username
戻り:
指定された username に該当するユーザー

例:

以下の例は、指定された username を使用してユーザーを取得するための 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>BF1E7729085BB066446DF913FAE34596</sec:sessionId>
 </soapenv:Header>
 <soapenv:Body>
  <sec:getUser>
   <sec:username>webman</sec:username>
  </sec:getUser>
 </soapenv:Body>
</soapenv:Envelope>
以下は、要求に対する SOAP 応答の例です。
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
 <S:Body>
  <ns2:getUserResponse xmlns:ns2="http://www.approuter.com/schemas/2008/1/
  security" xmlns:ns3="http://www.approuter.com/schema/router/1000/security/03">
   <ns2:user>
    <ns3:id>965AAB3FED8D3CCBBE4DC8EE0E2944EA</ns3:id>
    <ns3:name>webman</ns3:name>
    <ns3:encPasswd>{SHA}clO20r2ZJMJcDrNwXQzhWB8YcdI=</ns3:encPasswd>
    <ns3:displayName>WebServiceUser</ns3:displayName>
    <ns3:isActive>true</ns3:isActive>
    <ns3:isMutable>true</ns3:isMutable>
    <ns3:isVisible>true</ns3:isVisible>
    <ns3:email>webman@mycompany.com</ns3:email>
    <ns3:createdTime>2010-03-02T22:11:32.935Z</ns3:createdTime>
    <ns3:failedLoginCount>0</ns3:failedLoginCount>
    <ns3:scopeId>B47EAECF6AD14AA028B4EA038CB742D0</ns3:scopeId>
    <ns3:scopeType>Tenant</ns3:scopeType>
   </ns2:user>
  </ns2:getUserResponse>
 </S:Body>
</S:Envelope>
ユーザーごとに、以下の情報が返されます。
id
ユーザーの ID。
name
ユーザーの名前。
encPasswd
ユーザーの SHA エンコードされたパスワード。
displayName
WMC での役割の表示名。
isActive
ユーザーがログインしている場合は true、ログインしていない場合は false。
isMutable
true または false。true は、オブジェクトが更新可能であることを意味します。更新可能でない場合は false です。
isVisible
true または false。True は、オブジェクトが WMC に表示されることを意味します。WMC に表示されない場合は false です。
email
ユーザーの E メール・アドレス。
createdTime
ユーザーが作成された日付および時刻。
failedLoginCount
この名前を使用してログインを試行して失敗した回数。5 回失敗した後、username は 15 秒間ブロックされます。一連の失敗のたびに、ブロック時間は 2 倍になります (15 - 30 - 60 - 120)。
scopeId
ユーザーが配置されているスコープのスコープ ID。統合アプライアンスには適用しないでください。
scopeType
スコープのタイプ (テナントまたは環境のいずれか)。統合アプライアンスには適用しないでください。