Good Day,
How to retrieve all records of BackendlessUser using PHP?
I tried this line of code but didnt worked:
$users = Backendless::$Data->of(‘BackendlessUser’)->find();
Pluto,
Make sure to update the SDK - get the latest version from our website (or the github repo).
Use the following call to get the user objects:
$users = Backendless::$Data->of('Users')->find();
For example:
$users = Backendless::$Data->of('Users')->find()->getAsClasses();
foreach( $users as $user ) {
echo $user->getName() . "\n";
}