ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

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.

email

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
"/content/edit"). It is only used for validation of the password. It will be FALSE if empty input was provided.

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 2:32 pm)


Comments

  • is anywhere stored las login date?

    is any way to get last login date, ip and etc?
  • last login of user

    Tip from helpful folks at #eZpublish channel:
    kernel/content/newcontent.php :
    $tpl->setVariable( 'last_visit_timestamp', $user->lastVisit() );