Table llx user: Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
Line 17: Line 17:
= Structure =
= Structure =
== Table ==
== Table ==
'''Version 1.1 2009/10/07'''
'''Version 1.2 2010/02/12'''
{|  align="left" width="100%" border="0" rules="all" cellpadding="1" cellspacing="0"  style="margin: 0 0 1px 1px; border: 1px solid #dddddd; border-right-width: 2px; border-bottom-width: 2px; background-color: #f3f3f5"
{|  align="left" width="100%" border="0" rules="all" cellpadding="1" cellspacing="0"  style="margin: 0 0 1px 1px; border: 1px solid #dddddd; border-right-width: 2px; border-bottom-width: 2px; background-color: #f3f3f5"
  |style="background-color: #e9e9ef"| <b>Field</b>
  |style="background-color: #e9e9ef"| <b>Field</b>
Line 266: Line 266:
|  
|  
| status of user
| status of user
|-
| photo
| varchar(255)
| YES
|
| NULL
|
| filename or url of photo
|-  
|-  
| lang
| lang
Line 275: Line 283:
| user lang interface
| user lang interface
|}&nbsp;
|}&nbsp;
== Keys ==
== Keys ==
'''Version 1.1 2009/10/07'''
'''Version 1.1 2009/10/07'''

Revision as of 09:01, 22 March 2010


En verysmall.png The documentation related to other tables is available on the page: Table SQL
Fr verysmall.png La documentation relative aux autres tables est disponible sur la page: Table SQL
Es verysmall.png La documentación relativa a otras tablas se encuentra disponible en la página: Table SQL
De verysmall.png Eine Dokumentation zu weiteren Tabellen ist auf dieser Seite verfügbar: Table SQL
Cn verysmall.png与其他表相关的文档请参阅:Table SQL

Content/Contenu/Contenido

En verysmall.png Contains the users, together with their login and password. This is a mandatory table.

Fr verysmall.png Contient la listes des utilisateurs avec leur login et leur mot de passe. C'est une table essentielle.

Es verysmall.png Contiene la lista de usuarios con su login y su contraseña. Es una tabla esencial.

Structure

Table

Version 1.2 2010/02/12

Field Type Null Key Default Extra Description
rowid int(11) NO PRI auto_increment technical index
datec datetime YES NULL creation date
tms timestamp NO CURRENT_TIMESTAMP last update date
login varchar(24) NO UNI user login
entity int(11) NO UNI 1 multi company id
pass varchar(32) YES NULL user password
pass_crypted varchar(128) YES NULL user crypted password
pass_temp varchar(32) YES NULL temporary password when asked for forget password
name varchar(50) YES NULL user name
firstname varchar(50) YES NULL user firstname
office_phone varchar(20) YES NULL office phone
office_fax varchar(20) YES NULL office fax
user_mobile varchar(20) YES NULL mobile phone
email varchar(255) YES NULL e-mail
admin smallint(6) YES 0 user with administrator rights?
webcal_login varchar(25) YES NULL login user for webcal
webcal_login varchar(25) YES NULL login user for webcal
phenix_login varchar(25) YES NULL login user for phenix
phenix_pass varchar(128) YES NULL password user for phenix
module_comm smallint(6) YES 1 user with access to commercial module?
module_compta smallint(6) YES 1 user with access to financial module?
fk_societe int(11) YES MUL NULL ID of society (llx_societe->rowid)
fk_socpeople int(11) YES UNI NULL ID of contact (llx_socpeople->rowid)
fk_member int(11) YES UNI NULL ID of member (llx_adherent->rowid)
note text YES NULL comentary
datelastlogin datetime YES NULL last login date
datepreviuslogin datetime YES NULL previus login date
egroupware_id int(11) YES NULL ID of egroupware
ldap_sid varchar(255) YES NULL ID of LDAP
statut tinyint(4) YES 1 status of user
photo varchar(255) YES NULL filename or url of photo
lang varchar(6) YES NULL user lang interface

 

Keys

Version 1.1 2009/10/07

Key Type Fields
PRIMARY PRIMARY rowid
uk_user_login UNIQUE login,entity
uk_user_fk_socpeople UNIQUE fk_socpeople
uk_user_fk_member UNIQUE fk_member
uk_user_fk_societe MULTIPLE fk_societe