I want to select the Users existing in the instance from the dialog widget. I actually have tried using xtype as 'authselection' and 'userinfo' but couldnt able to do it. Can anyone please suggest on how to meet the requirement.
Thanks in advance!
Solved! Go to Solution.
pls proceed with smacdonald2008 solution, this will prefectly wok
tip: pls use latest jackrabit Usermanager API for java logic in 6.3
ref: cq5 - How to get user list of given group in AEM6.1 - Stack Overflow
Views
Replies
Total Likes
resourceResolver.adaptTo(Session.class).getUserID() to get current User ID
Views
Replies
Total Likes
See this article for TOuch UI. You can populate an AEM Touch UI select field located in a component dialog using a WCMUSePOJO.
In the Java logic - use the User Manager API https://jackrabbit.apache.org/api/2.6/org/apache/jackrabbit/api/security/user/UserManager.html
If you are using Classic Component - then see this one:
Using Java app logic - you can get a list of users using the User Manager API
Views
Replies
Total Likes
pls proceed with smacdonald2008 solution, this will prefectly wok
tip: pls use latest jackrabit Usermanager API for java logic in 6.3
ref: cq5 - How to get user list of given group in AEM6.1 - Stack Overflow
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies