Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

ezrole

Summary

Contains information about a role.

Persistent

Yes.

Attributes

Attribute

Type

Static*

Description

id

string

Yes.

The ID number of the role.

version

integer

Yes.

The current version of the role, 0 is the currently active role while any other values are temporary versions.

name

string

Yes.

The name of the role (for example "Anonymous").

is_new

integer

Yes.

The creation state of the role, will be 1 if the role just got created but have not been activated yet, 0 otherwise.

policies

array

No.

The policies (as ezpolicy objects) that make up the role.

limit_identifier

string

No.

The identifier of the limited assignment for the currently logged in user. Will be FALSE if the limited assignment is not used.

limit_value

string

No.

The value for the "limit_identifier" attribute (when the limitation feature is in use).

user_role_id

string

No.

Not documented yet.

* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.

Balazs Halasy (22/02/2005 8:44 am)

Svitlana Shatokhina (12/03/2007 10:59 am)

Balazs Halasy, Svitlana Shatokhina


Comments

There are no comments.