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
Solved! Go to Solution.
Views
Replies
Total Likes
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.
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.
Views
Likes
Replies
Views
Likes
Replies