This HTML5 document contains 11 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

PrefixNamespace IRI
n5http://www.openlinksw.com/ontology/webservices#
n4https://www.iodbc.org/ods/api/user.password.
schemahttp://schema.org/
n2http://www.iodbc.org/DAV/VAD/wa/API_user.ttl#action_user.password.
n6http://www.iodbc.org/DAV/VAD/wa/API_user.ttl#action_user.password.change_#
n7http://www.iodbc.org/DAV/VAD/wa/API_user.ttl#
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
xsdhhttp://www.w3.org/2001/XMLSchema#
Subject Item
n2:change
rdf:type
schema:EntryPoint
schema:httpMethod
GET
schema:contentType
text/xml
n5:isWebServiceOf
n7:this_ODSUserModuleAPI
n5:endPointURL
n4:change
schema:shortDescription
<p>Change the password of a user account. </p>
n5:hasParameter
n6:_old_password n6:_new_password
schema:name
EntryPoint - user_password_change
schema:description
<p>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.</p><p><parameterlist kind="param"><li> <parameternamelist> <parametername>old_password</parametername> </parameternamelist> <parameterdescription> <p>The old password in plain text. The old password can be omitted if the pwd is changed for the first time. Alternatively <computeroutput>old_password</computeroutput> can be set to the pin as generated by <ref kindref="member" refid="group__ods__module__user_1ga51949c776742c1f3b5c16d49e5d4fd02">user.password.recover.email()</ref>. </p></parameterdescription> </li> <li> <parameternamelist> <parametername>new_password</parametername> </parameternamelist> <parameterdescription> <p>The new password in plain text.</p></parameterdescription> </li> </ul> <simplesect kind="return"><p>An error code stating the success of the command execution as detailed in <ref kindref="member" refid="ods_response_format_1ods_response_format_result_code">ODS Error Result Codes</ref>. On error the HTTP status code will be set to <computeroutput>403</computeroutput> or <computeroutput>400</computeroutput>, depending on the type of error.</p></simplesect> <bold>Example:</bold> <pre> $ curl -i "http://www.iodbc.org/ods/api/user.password.change?user_name=test123&amp;password_hash=4674a4b44e89011cfa581ff90967ebc52fd1080d&amp;old_password=1&amp;new_password=2" HTTP/1.1 200 OK Server: Virtuoso/05.12.3041 (Solaris) x86_64-sun-solaris2.10-64 VDB Connection: Keep-Alive Date: Mon, 28 Dec 2009 22:46:56 GMT Accept-Ranges: bytes Content-Type: text/xml; charset="ISO-8859-1" Content-Length: 57 &lt;result&gt; &lt;code&gt;1&lt;/code&gt; &lt;message&gt;Success&lt;/message&gt; &lt;/result&gt; </pre></p><p><simplesect kind="see"><p><ref kindref="member" refid="group__ods__module__user_1ga51949c776742c1f3b5c16d49e5d4fd02">user.password.recover.email()</ref></p></simplesect> <simplesect kind="par"><title>Authentication</title><p>This function requries authentication via one of the supported authentication methods as described in <ref kindref="compound" refid="ods_authentication">ODS Authentication</ref>. </p></simplesect> </p>
schema:url
n4:change