ezuser
Summary
Contains information about a user.Persistent
Yes.Attributes
Attribute | Type | Static* | Description |
---|---|---|---|
contentobject_id |
string |
Yes. |
The ID number of the object that represents the user. |
login |
string |
Yes. |
The username of the user. |
|
string |
Yes. |
The E-mail address of the user (for example "marty@ez.no"). |
password_hash |
string |
Yes. |
The encrypted version of the user's password. |
password_hash_type |
string |
Yes. |
The type of encryption that was used to obfuscate the user's password. |
contentobject |
object |
No. |
The actual object (as ezcontentobject) that represents the user. |
groups |
array |
No. |
The object ID numbers of the user groups that the user is a member of. |
has_stored_login |
boolean |
No. |
Returns TRUE if the user has a non-empty username stored in the database; otherwise FALSE will be returned. |
original_password |
string |
No. |
The password input by the user from the last page (from "/user/register" or |
original_password_confirm |
string |
No. |
The confirmation password for the "original_password" attribute (FALSE if empty). |
roles |
array |
No. |
The roles (as ezrole objects) that are assigned to the user. |
role_id_list |
array |
No. |
The ID numbers of the roles that are assigned to the user. |
limited_assignment_value_list |
array |
No. |
Not documented yet. |
is_logged_in |
boolean |
No. |
Returns TRUE if the user is logged in, FALSE otherwise. |
is_enabled |
boolean |
No. |
Returns TRUE if the user is enabled, FALSE otherwise. |
last_visit |
string |
No. |
Not documented yet. |
has_manage_locations |
boolean |
No. |
Not documented yet. |
* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.
Balazs Halasy (23/02/2005 3:54 pm)
Svitlana Shatokhina (12/03/2007 11:02 am)
Comments
is anywhere stored las login date?
Wednesday 15 March 2006 6:48:05 am
vytis
Re: is anywhere stored las login date?
Thursday 11 June 2009 2:15:55 pm
pike
In the 4.0 doxygen source, this is a function attribute that returns
SELECT last_visit_timestamp FROM ezuservisit WHERE user_id=$this->ContentObjectID
That value is a php timestamp compatible with time()
$2c,
*-pike