Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This function is used to verify a user's password. 

Function name

verify-password

Parameters

username (Required)

Login name of the user whose password needs to be verified.

password (Required)

Password of the user.

Return values:

In case of XML data format, you will be returned an XML string with two elements: uid (the user id of the user) and result (true if the password is correct, false otherwise). For example:

<result>
  <result>true</result>
  <uid>13891</uid>
</result>


In case of JSON, the resultant object will have these two properties i.e. uid and result.

{"result":{"uid":13891,"match":true}}
  • No labels