Expand my Community achievements bar.

SOLVED

how can i create users in cq through Service

Avatar

Former Community Member

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

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

Avatar

Level 10

This article does including adding new AEM users:

[img]Users.png[/img]