Import Users | Community
Skip to main content
New Participant
October 16, 2015
Solved

Import Users

  • October 16, 2015
  • 5 replies
  • 1385 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Yogesh_Upadhyay

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

5 replies

smacdonald2008
New Participant
October 16, 2015

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

shin4649Author
New Participant
October 16, 2015

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)?

Yogesh_Upadhyay
New Participant
October 16, 2015

Hello,

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

Yogesh

Yogesh_Upadhyay
Yogesh_UpadhyayAccepted solution
New Participant
October 16, 2015

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

smacdonald2008
New Participant
October 16, 2015

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.