changePassword

指定されたユーザー名のパスワードを変更します。

パラメーター:

username
パスワードが変更されるusername
oldPassword
username の古いパスワード。
newPassword
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>B0097A43C5527FA552C3DDBA7EF74CE9</sec:sessionId>
 </soapenv:Header>
 <soapenv:Body>
  <sec:changePassword>
   <sec:username>webman</sec:username>
   <sec:oldPassword>Oldpw12g</sec:oldPassword>
   <sec:newPassword>Newpw24e</sec:newPassword>
  </sec:changePassword>
 </soapenv:Body>
</soapenv:Envelope>
以下は、要求に対する SOAP 応答の例です。
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
 <S:Body>
  <ns2:changePasswordResponse 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:changePasswordResponse>
 </S:Body>
</S:Envelope>