changePassword

Changes the password for the specified username.

Parameters:

username
The username for which the password is to be changed.
oldPassword
The old password for the username.
newPassword
The new password for the username.
Returns:
True if the password was successfully changed.

Examples:

The following example is a SOAP request to change the password for 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>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>
The following example is the SOAP response to the request.
<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>



Feedback | Notices


Timestamp icon Last updated: Thursday, December 17, 2015


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.api.doc/ci00007.html