Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No

Field ID

Note

1

id OR username

 

2

firstName

 

3

lastName

 

4

email

 

5

password

will be encrypted using MD5

6

active

either Either '0' or '1' value, where '0' means inactive and '1' means active

7

timezone

in In GMT format, e.g., '8' is the time zone for 'Kuala Lumpur' and '-6' for 'Mexico City'.
This field is optional.

8

locale

User's preferred locale (e.g zh_CN)
This field is optional. 

9

userRoles

either 'ROLE_USER', 'ROLE_ADMIN', or 'ROLE_USER;ROLE_ADMIN'
This field is mandatory.

10

groups

User's group IDs (e.g. manager;admin)
This field is optional.

11

employeeCode

This field is optional.

12

jobTitle

This field is optional.

13

organization

User's organization ID.
This field is optional.

14

department

User's department ID.
This field is optional.

15

isHod

Either '0' or '1' value, where '0' means inactive and '1' means active
This field is optional.

16

grade

This field is optional.

17

startDate

This field is optional.

18

endDate

This field is optional.

19

reportTo

User's report to user ID.
This field is optional.