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.](../../../../../var/doc/storage/images/ez_publish/technical_manual/4_0/images/reference/datatypes/user_account_class_attribute_edit_interface/6667-1-eng-GB/user_account_class_attribute_edit_interface_doc.png)
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.](../../../../../var/doc/storage/images/ez_publish/technical_manual/4_0/images/reference/datatypes/user_account_object_attribute_edit_interface/70220-2-eng-GB/user_account_object_attribute_edit_interface_doc.png)
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.](../../../../../var/doc/storage/images/ez_publish/technical_manual/4_0/images/reference/datatypes/user_account_settings/7769-1-eng-GB/user_account_settings_doc.png)
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'
INI settings
Thursday 16 February 2006 7:07:39 am
Kristof Coomans
GeneratePasswordIfEmpty=true
GeneratePasswordLength=6
HashType=md5_user
UpdateHash=true
AuthenticateMatch=login;email
RequireUniqueEmail=true
UseSpecialCharacters=false
Re: INI settings
Thursday 16 February 2006 7:24:18 am
Kristof Coomans
How can these users login
Thursday 04 January 2007 6:02:33 pm
Jonas Fischer
Re: How can these users login
Tuesday 09 January 2007 12:53:33 pm
Frank Dege
12 is the node-id of the UserGroup where a self registered user is stored. You can change this setting in the site.ini stored in the override or siteaccess directory.