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}}