Verify Password

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 verification.

password (Required)

Password of the user.

http://yourservername:portnumber/psa/api.do?function=verify-password&username=username&password=password


Return values:

In the 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>
  <uid>90458</uid>
  <match>true</match>
</result>


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

{"result":{"uid":13891,"match":true}}