Class Mage_Admin_Model_User
Admin user model
- Varien_Object
- Mage_Core_Model_Abstract
- Mage_Admin_Model_User
Package: Mage\Admin
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Admin/Model/User.php
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Admin/Model/User.php
protected
|
|
protected
|
|
public
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
string
|
|
public
mixed
|
|
public
string
|
|
public
boolean
|
#
authenticate( string $username, string $password )
Authenticate user name and password and save loaded record |
public
|
|
public
|
|
public
|
|
public
null|boolean|array
|
#
hasAssigned2Role( integer|Mage_Core_Admin_Model_User $user )
Check if user is assigned to any role |
protected
string
|
|
public
string
|
#
findFirstAvailableMenu(
Find first menu item that user is able to access |
public
boolean
|
|
public
string
|
|
public
mixed
|
|
public
|
#
changeResetPasswordLinkToken( string $newResetPasswordLinkToken )
Change reset password link token |
public
boolean
|
string |
XML_PATH_FORGOT_EMAIL_TEMPLATE
|
'admin/emails/forgot_email_template' |
#
Configuration paths for email templates and identities |
string |
XML_PATH_FORGOT_EMAIL_IDENTITY
|
'admin/emails/forgot_email_identity' |
|
string |
XML_PATH_STARTUP_PAGE
|
'admin/startup/page' |
|
integer |
MIN_PASSWORD_LENGTH
|
7 |
#
Minimum length of admin password |
protected
string
|
$_eventPrefix | 'admin_user' |
#
Model event prefix |
protected
|
$_role |
|
#
Admin role |
protected
boolean
|
$_hasAvailableResources | true |
#
Available resources flag |
$_cacheTag,
$_dataSaveAllowed,
$_eventObject,
$_isObjectNew,
$_resource,
$_resourceCollectionName,
$_resourceName
|