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

« Previous Version 3 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.

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


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