Expand my Community achievements bar.

SOLVED

Import Users

Avatar

Level 2

Hi all,

Is there a way to import users to CQ5 repository easily? I have over 500 users.

I am using CQ5.3.

Thank you.

1 Accepted Solution

Avatar

Correct answer by
Level 5

Since REST API for users is not available in CQ5.3, You can use Jackrabbit of CQ API in CQ5.3 to create user and profile info respectively.

http://wiki.apache.org/jackrabbit/UserManagement

http://dev.day.com/docs/en/cq/5-3/javadoc/com/day/cq/security/profile/package-summary.html

Yogesh

View solution in original post

5 Replies

Avatar

Level 10

Great point Yogesh -- the community articles are tested on 5.5 and 5.6.x. Thanks for clarifying here. 

Avatar

Level 2

Thanks for the reply. But how do I insert the input file (txt file or excel file) containing the username information?

Will all the code sit in CQ5 or a development tool (ie Eclipse)?

Avatar

Level 5

Hello,

You need to develop custom importer using above API to get data from your input file and store it in CRX. 

Yogesh

Avatar

Correct answer by
Level 5

Since REST API for users is not available in CQ5.3, You can use Jackrabbit of CQ API in CQ5.3 to create user and profile info respectively.

http://wiki.apache.org/jackrabbit/UserManagement

http://dev.day.com/docs/en/cq/5-3/javadoc/com/day/cq/security/profile/package-summary.html

Yogesh

Avatar

Level 10

You can work with the User Manager service. Although this article was written and tested for 5.5/5.6 - the UserManager service should be part of 5.3:

http://scottsdigitalcommunity.blogspot.ca/2013/07/using-ajax-requests-to-display-adobe-cq.html

This article discusses how to work with the UserManager service to add CQ users.