Magento: Get details of all Admin users
As we can get details of all the customers of the Magento store, we can also get details of all the Admin users. It may be necessary sometimes when you want to display all the admin uses either in dropdown for filtering something or just as a text or something based on requirement.
The following code will get you all the Admin users with their details:
$adminUserModel = Mage::getModel(‘admin/user’);
$userCollection = $adminUserModel->getCollection()->load();
Mage::log($userCollection->getData());