how can i create users in cq through Service | Community
Skip to main content
October 16, 2015
Solved

how can i create users in cq through Service

  • October 16, 2015
  • 3 replies
  • 650 views

Hi

I am trying to insert or create new users in /home/users through a service.

I have the service available, i am making an web service call and it is returning  a Json object.

I am converting it into Gson object.

Now i want to know how i can create the users from the object, so that they will be available in CQ.

please let me know if you are looking for more details.

Thanks

Rama

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 smacdonald2008

Use the com.day.cq.security.UserManager instance that belongs to the Adobe CQ API. You can create new users. See this community article:

http://helpx.adobe.com/experience-manager/using/using-ajax-requests-display-cq.html

3 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

Use the com.day.cq.security.UserManager instance that belongs to the Adobe CQ API. You can create new users. See this community article:

http://helpx.adobe.com/experience-manager/using/using-ajax-requests-display-cq.html

smacdonald2008
Level 10
October 16, 2015

This article does including adding new AEM users:

[img]Users.png[/img]