How to read the current logged in admin details – Magento

 <?php
  Mage::getSingleton('core/session', array('name' => 'adminhtml'));
  $session = Mage::getSingleton('admin/session');
  if ( $session->isLoggedIn() ){
   echo "Admin is logged in";
  }
 ?>

Leave a Reply

Your email address will not be published. Required fields are marked *