Import parameters

Directory

/data/users

Files reference

  • filename : header

  • (optional) filename-groups : user groups

  • (optional) filename-roles : user roles

Other parameters

Import mode

Imports can be done with "full" or "update" mode.

  • Full mode : All entities in the file but not in the target application are created. All entities present in the target application but not in the file are deleted. The others are updated.

  • Update mode : same as "full" mode except that the entities present in the target application but not in the file are not deleted.

Files content

Data structure

Field Column Data type Required Business rules

Email (login)

login

String

X

30 characters max

Password

password

String

X

First name

firstName

String

X

50 characters max

Last name

lastName

String

X

50 characters max

Phone number

phone

String

Company code

companyCode

String

2 characters max

Establishment code

establishmentCode

String

2 characters max

Language code

languageCode

String (ISO-639)

X

2 characters max

Locale region

localeRegion

String (ISO-639)

X

2 characters max

License type

licenseType

String

Example

login;password;firstName;lastName;phone;companyCode;establishmentCode;languageCode;localeRegion;LicenseType
tcl@vif.fr;testpassword;Thomas;CLARISSE;0123456789;01;02;FR;FR;License web

User groups

Data structure

Field Column Data type Required Business rules

Email (login)

login

String

X

30 characters max

User group code

userGroup

String

X

Example

login;userGroup
tcl@vif.fr;ADMIN

User roles

Data structure

Field Column Data type Required Business rules

Email (login)

login

String

X

30 characters max

Role code

role

String

X

Company code

companyCode

String

2 characters max

Establishment code

establishmentCode

String

2 characters max

Example

login;role;companyCode;establishmentCode
tcl@vif.fr;VIF-WORKSHOP;HB;01