. . . "EntryPoint - user_password_change" . . . "

Change the password of a user account.

" . . "GET" . "text/xml" . "

This method allows to change the password on a user account. Since passwords are transmitted in plain text it is recommended to use an encrypted connection.

  • \n\nold_password\n\n\n

    The old password in plain text. The old password can be omitted if the pwd is changed for the first time. Alternatively old_password can be set to the pin as generated by user.password.recover.email().

    \n
  • \n
  • \n\nnew_password\n\n\n

    The new password in plain text.

    \n
  • \n\n

    An error code stating the success of the command execution as detailed in ODS Error Result Codes. On error the HTTP status code will be set to 403 or 400, depending on the type of error.

    \nExample:
    \n $ curl -i \"http://www.iodbc.org/ods/api/user.password.change?user_name=test123&password_hash=4674a4b44e89011cfa581ff90967ebc52fd1080d&old_password=1&new_password=2\"\n\n HTTP/1.1 200 OK\n Server: Virtuoso/05.12.3041 (Solaris) x86_64-sun-solaris2.10-64  VDB\n Connection: Keep-Alive\n Date: Mon, 28 Dec 2009 22:46:56 GMT\n Accept-Ranges: bytes\n Content-Type: text/xml; charset=\"ISO-8859-1\"\n Content-Length: 57\n\n <result>\n   <code>1</code>\n   <message>Success</message>\n </result>\n 

    user.password.recover.email()

    \nAuthentication

    This function requries authentication via one of the supported authentication methods as described in ODS Authentication.

    \n

    " .