Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

List of users, groups and permissions

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Level 3

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.

0 Replies

Avatar

Level 10

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. 

Avatar

Correct answer by
Level 3

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.

Avatar

Level 10

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.

Avatar

Level 1

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.

Avatar

Level 10

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.