Tutorial by Examples

Mage::getSingleton('admin/session')->getUser();
Mage::helper('customer')->getCustomer(); or Mage::getSingleton('customer/session')->getCustomer();
Mage::getSingleton('customer/session')->isLoggedIn()

Page 1 of 1