Get User/Group having which permissions | Community
Skip to main content
Level 3
June 20, 2025
Solved

Get User/Group having which permissions

  • June 20, 2025
  • 2 replies
  • 360 views

Hi All, 

 

I need to get the list of Users and List of Groups which are available in AEM with the Permissions under all paths programatically.

 

How we can solution this.Any reference would be highly appreciated

 

Thanks in Advance

 

 

Best answer by Raja_Reddy

Hi @sb2512 
Refer
Solved: List of users, groups and permissions - Adobe Experience League Community - 182886
Managing Users | Adobe Experience Manager
http://jackrabbit.apache.org/api/2.18/org/apache/jackrabbit/api/security/user/UserManager.html 
Use the UserManager API from org.apache.jackrabbit.api.security.user to list users and groups.

  • Querying all paths can be expensive; consider limiting scope or running as a batch process.

  • You need sufficient permissions to read ACLs.

  • For better performance you might consider checking only paths relevant to your use case.

  • Use JCR API and Jackrabbit API carefully to avoid permission issues.

 

 

2 replies

Karishma_begumSh
Level 4
June 20, 2025
Raja_Reddy
Community Advisor
Raja_ReddyCommunity AdvisorAccepted solution
Community Advisor
June 22, 2025

Hi @sb2512 
Refer
Solved: List of users, groups and permissions - Adobe Experience League Community - 182886
Managing Users | Adobe Experience Manager
http://jackrabbit.apache.org/api/2.18/org/apache/jackrabbit/api/security/user/UserManager.html 
Use the UserManager API from org.apache.jackrabbit.api.security.user to list users and groups.

  • Querying all paths can be expensive; consider limiting scope or running as a batch process.

  • You need sufficient permissions to read ACLs.

  • For better performance you might consider checking only paths relevant to your use case.

  • Use JCR API and Jackrabbit API carefully to avoid permission issues.