I earlier posted question to get customer rest password via code and below code works fine:
$email='[email protected]';
$customer = Mage::getModel('customer/customer')
->setWebsiteId(Mage::app()->getStore()->getWebsiteId())
->loadByEmail($email);
$customer->sendPasswordResetConfirmationEmail();
But what if want to reset password of one of admins , how can I use above code to work ?