As in title, how can I get a list of all users in Magento ? Found already some examples but none of those works. All I managed to get was either only one user (myself) or nothing while I was expecting at least 3! Using this code as a result I'm getting ONE
$users = Mage::getModel('admin/user');
$usersCollection = $users->getCollection()->load();
foreach($usersCollection as $user){
echo 'User: ' . $user->getFirstname() . '<br/>';
echo 'User: ' . $user->getLastname() . '<br/>';
echo 'User: ' . $user->getName() . '<br/>';
}
What am I doing wrong ?