List of users, groups and permissions | Community
Skip to main content
October 16, 2015
Solved

List of users, groups and permissions

  • October 16, 2015
  • 5 replies
  • 3833 views

How can I get a list of users, groups and associated permissions from AEM? This is needed for an audit promptly.

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

Hey Petr,

This org.apache.jackrabbit.api.security.user.UserManager api can be used for accessing related to users.

@Smac

This com.day.cq.security.UserManager is deprecated right.

5 replies

smacdonald2008
Level 10
October 16, 2015

TO work with Users and Groups in AEM, you use com.day.cq.security.UserManager. This API provides access to AEM groups and users. To learn how to get a list of users using this API, see this article:

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

One you learn how to work with UserManager, you can perform other tasks supported by this API. 

Hope this helps. 

Accepted solution
October 16, 2015

Hey Petr,

This org.apache.jackrabbit.api.security.user.UserManager api can be used for accessing related to users.

@Smac

This com.day.cq.security.UserManager is deprecated right.

smacdonald2008
Level 10
October 16, 2015

That is a good point -- the com.day.cq.security.UserManager works; however, better to use org.apache.jackrabbit.api.security.user.UserManager. I will ensure that the community article is updated to show use of org.apache.jackrabbit.api.security.user.UserManager.

October 16, 2015

Thanks all, so it means that I can't get that without developing a new app. That is disappointing, as I thought AEM is an auditable system - or at least we were told that by Adobe during presales.

smacdonald2008
Level 10
October 16, 2015

Out of the box, CQ has the sample Geometrixx sample sites. 

However -- there is up front customization that is required to build the experience that you want (typically by a developer) -- including custom reports.

However - once done, an author can do things that a developer would typically have to do, like change content on a web page, add new pages, etc.

Hope this helps.