TrackRecordPro API Documentation TrackRecordPro

updatePassword()

Summary

Method Name

updatePassword

Minimum Supported API Version3.0

updatePassword

$result = updatePassword($filters, $newdata)

Details

Updates values in all entries matching $filter from the users table. This field only accepts updates to the password, using a field named 'newpassword'

Parameters

$filtersThe filter specifies the range of data to act upon. Empty arrays are not allowed.
$newdataThe new data to apply to the matched records. This must only contain an object with one property called 'newpassword', and the password set to the new value.

Return value

The method returns a status object indicating the number of rows updated.