I came across this article https://sling.apache.org/documentation/bundles/managing-users-and-groups-jackrabbit-usermanager.html on the Apache Sling site. This jackrabbit-usermanager bundle exposes REST interface to perform CRUD actions on users and groups. It doesn't seem like this bundle is included in the default AEM instance, and if it is could someone point me to the documentation?
Solved! Go to Solution.
If you want to manipulate users and groups via code - why not use the Java API.
I do not believe the other bundle is OOTB.
Most ppl use the Jackrabbit API.
I have a requirement to provide an SPA like experience in a certain component and need access to some user group information after the page has been loaded based on user interaction.
Why not create a custom sling servlet that uses Jackrabbit API (to retrieve user/group information) and then you can invoke the servlet via a GET request to obtain what ever information you need. That is the benefit of AEM - you can build custom services/servlets to meet your business requirements.