Message-ID: <1521844807.3928.1485855909267.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_3927_1002293924.1485855909267" ------=_Part_3927_1002293924.1485855909267 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html The User FieldType

The User FieldType

 

This FieldType validates and stores information about a user.

Name Internal name Expected input
User ezuser ignored

Table of contents:

=20 =20

User FieldType is read-only

In eZ Publish 5.x User FieldType is read-only. A dedicated API for handl= ing users is available, for more details see eZ\Publish\API\Repository\UserService<= /strong>.

Value Object API

Property Type Description Example

h= asStoredLogin

boolean Denotes if user has stored login. true

c= ontentId

int|string Id of the Content corresponding to the user. 42

l= ogin

string Username. john

e= mail

string Users' email address. john@smith.com

p= asswordHash

string Hash of the user's password. 1234567890abcdef

p= asswordHashType

mixed
Algorithm user for generating password hash as a= PASSWORD_HASH_* = constant defined in eZ\Publish\Core\Repository\Values\User\User= class.
User::PASSWORD_HASH_MD5_USER

m= axLogin

int Maximal number of concurrent logins. 1000

Available password h= ash types

Constant Description

eZ\Publish\Core\Repository\Values\User\= User::PASSWORD_HASH_MD5_PASSWORD

MD5 hash of the password, not recommended.

eZ\Publish\Core\Repository\Values\User\= User::PASSWORD_HASH_MD5_USER

MD5 hash of the password and username.

eZ\Publish\Core\Repository\Values\User\= User::PASSWORD_HASH_MD5_SITE

MD5 hash of the password, username and sit= e name.

eZ\Publish\Core\Repositor= y\Values\User\User::PASSWORD_HASH_PLA= INTEXT

Passwords are stored in plainte= xt, should not be used for real sites.

------=_Part_3927_1002293924.1485855909267--