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

Static*

Description

contentobject_id

string

Yes.

The ID number of the object that represents the user.

login

string

Yes.

The username of the user.

email

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

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)

Balazs Halasy, Svitlana Shatokhina


Comments

  • is anywhere stored las login date?

    is any way to get last login date, ip and etc?
    • Re: is anywhere stored las login date?

      "last_visit" is "not documented yet"

      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