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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.