Jahia DX > Administration:...

0 (0 Good)
0 (0 Bad)

Administration: Batch create users - only import username, password

by  kamran »  2011/09/01 14:48

Hi,

I created a CSV file with the following two lines

j:nodename,j:password,j:firstname,j:lastname
mylogin,mypassword,myfirstname

I  use the "Batch create users" functionality available under Administration > Server settings > Manage users

My imprt results is "1 users created successfully, 0 errors while creating users".

But the user contains only a nodename (mylogin). There is no firstname or lastname for this user :-(

Any idea ?

Here is the log results

2011-09-01 16:44:53,483: INFO  [JCRContentUtils] - Importing data using skeleton [ServletContext resource [/WEB-INF/etc/repository/user.xml]]
2011-09-01 16:44:54,727: INFO  [ConflictResolver] - compare /users/aj/ac/jd/mylogin version : 1.0 with (source) 1.0.0
2011-09-01 16:44:54,737: INFO  [ConflictResolver] - compare /users/aj/ac/jd/mylogin version : 1.1 with (target) 1.2
[GC 275572K->126948K(958272K), 0.0812517 secs]
2011-09-01 16:44:54,971: INFO  [RulesListener] - Rules executed for default [/users/aj/ac/jd/mylogin/files/private/j:acl/GRANT_u_user/j:roles, /users/aj/ac/jd/mylogin/files/private/j:acl/GRANT_u_user/j:protected, /users/aj/ac/jd/mylogin/files/private/j:acl/GRANT_u_user/j:principal] ... and 23 other nodes in 457ms
2011-09-01 16:44:55,021: INFO  [ManageUsers] - Successfully created user mylogin
2011-09-01 16:44:55,022: INFO  [ManageUsers] - Batch user create took 1554 ms

 

  (kamran)

Number of messages  31
Registration date
1 (1 Good)
0 (0 Bad)

Re: Administration: Batch create users - only import username, password

by  faissah »  2011/09/01 16:23

Hi,

On the Batch create users screen, there an explanation on how to use this feature.

Your mistake is that you did not respect the cap letters and you miss a final comma

j:nodename,j:password,j:firstName,j:lastName
mylogin,mypassword,myfirstname,

Regards,

Fabrice

Fabrice  (faissah)

Number of messages  264
Registration date
0 (0 Good)
0 (0 Bad)

Re: Re: Administration: Batch create users - only import username, password

by  kamran »  2011/09/06 09:32

Oups shame on me :-)

Thanks a lot for your help

Kamran

Hi,

On the Batch create users screen, there an explanation on how to use this feature.

Your mistake is that you did not respect the cap letters and you miss a final comma

    j:nodename,j:password,j:firstName,j:lastName
    mylogin,mypassword,myfirstname,

Regards,

Fabrice


  (kamran)

Number of messages  31
Registration date
Contact
Share
Feedback

Get in touch

Whether you are a current user or if you are just evaluating Jahia, we are here to help.

Contact us

Share this page