TrackRecordPro API Documentation TrackRecordPro

deleteUsers()

Summary

Method Name

deleteUsers

Minimum Supported API Version3.0

deleteUsers

$result = deleteUsers($filters, $newdata)

Details

Delete entries matching $filter from the users table

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.

Return value

The method returns a status object indicating the number of rows inserted, deleted or added.

Note that you cannot delete a record which refers to other records. If you attempt to do so, an exception will be thrown and the attempt to delete the record will be refused.