ezuser
Summary
Contains information about a user.Persistent
Yes.Attributes
Attribute | Type | Description |
---|---|---|
contentobject_id |
string |
The ID number of the object that represents the user. |
login |
string |
The username of the user. |
|
string |
The E-mail address of the user (for example "marty@ez.no"). |
password_hash |
string |
The encrypted version of the user's password. |
password_hash_type |
string |
The type of encryption that was used to obfuscate the user's password. |
contentobject |
object |
The actual object (as ezcontentobject) that represents the user. |
groups |
array |
The object ID numbers of the user groups that the user is a member of. |
has_stored_login |
boolean |
Returns TRUE if the user has a non-empty username stored in the database; otherwise FALSE will be returned. |
original_password |
string |
The password input by the user from the last page (from "/user/register" or |
original_password_confirm |
string |
The confirmation password for the "original_password" attribute (FALSE if empty). |
roles |
array |
The roles (as ezrole objects) that are assigned to the user. |
role_id_list |
array |
The ID numbers of the roles that are assigned to the user. |
is_logged_in |
boolean |
Returns TRUE if the user is logged in, FALSE otherwise. |
is_enabled |
boolean |
Returns TRUE if the user is enabled, FALSE otherwise. |
Balazs Halasy (23/02/2005 3:54 pm)
Balazs Halasy (01/04/2007 3:11 pm)
Comments
is anywhere stored las login date?
Wednesday 15 March 2006 6:48:05 am
vytis
Re: is anywhere stored las login date?
Friday 12 May 2006 11:05:02 am
Anette Rekdal
function getIpAddress()
{
if (isset($_SERVER['REMOTE_ADDR'])) {
$extensionURL .= $_SERVER['REMOTE_ADDR'];
}
$result = array( );
$result['ip_address'] =& $extensionURL;
return array( 'result' => $result );
}