User account
Summary
Validates and stores info about a user.Properties
Name | Internal name | Searchable | Information collector |
---|---|---|---|
User account | ezuser | Yes. | No. |
Description
This datatype allows storage and retrieval of a single user account. Whenever an object that uses this datatype is published for the first time, the system will create a new user. The user's ID number will be the identification number of the object. The following screenshot shows the class attribute edit interface for this datatype.
Class attribute edit interface for the "User account" datatype.
Object attribute edit interface
For each user, the "User account" datatype stores the following information:
- A username
- A password
- An E-mail address
The username can only be modified before the object is published for the first time. The following screenshot shows the object attribute edit interface for this datatype.
Object attribute edit interface for the "User account" datatype.
User account settings
The properties of a user account can be tweaked by the administrator. This can be done by following the "Change user account settings" link from within the view of a user account object in the administration interface. Currently it is only possible to change whether the user account should be enabled or disabled (whether the user is allowed to log in to the system or not). The following screenshot shows the user account settings panel.
Settings interface for the "User account" datatype.
Raw output
The ".content" of an ezcontentobjectattribute object using this datatype returns an ezuser object.
Balazs Halasy (21/02/2005 2:45 pm)
Balazs Halasy (27/04/2005 8:51 am)
Comments
Modifying the password?
Thursday 04 August 2005 2:50:46 am
James Ashley
Now, the password is encrypted with hash function #2. What on earth does that mean? I just want to reset the password to see whether I typed it in wrong or something else equally silly.
Re: Modifying the password?
Thursday 04 August 2005 8:17:31 am
Hello World
Re: Modifying the password?
Monday 27 March 2006 1:54:06 pm
Kristian Hole
$> echo -n -e "admin\npublish"|md5sum
c78e3b0f3d9244ed8c6d1c29464bdff9
and then in MySQL:
UPDATE ezuser SET password_hash='c78e3b0f3d9244ed8c6d1c29464bdff9' WHERE login='admin'