Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How can we select the user from Dialog widget

Avatar

Level 2

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!

1 Accepted Solution

Avatar

Correct answer by
Level 6

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

View solution in original post

4 Replies

Avatar

Level 6

resourceResolver.adaptTo(Session.class).getUserID() to get current User ID

Avatar

Level 10

If you are using Classic Component - then see this one:

Adobe Experience Manager Help | Populating AEM Component Dialog fields using JSON data returned by S...

Using Java app logic - you can get a list of users using the User Manager API

Avatar

Correct answer by
Level 6

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