Touch UI User Picker- allowing groups in the user selection dropdown? | Community
Skip to main content
December 13, 2015
Solved

Touch UI User Picker- allowing groups in the user selection dropdown?

  • December 13, 2015
  • 3 replies
  • 1925 views

Hi,

I need to allow groups also appear in the userpicker drop down. I see only option to override the userpicker. Have any one done this in before. Please suggest.

 

Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

Hi

Agreeing with Scott.

You need to write sling servlet and use User manager APIto get User/Group info.

Link:- https://helpx.adobe.com/experience-manager/using/jackrabbit-users.html

Link:- https://helpx.adobe.com/experience-manager/using/developing-aem-osgi-bundles-jackrabbit.html

I hope this would help You.

Thanks and Regards

Kautuk Sahni

3 replies

smacdonald2008
Level 10
December 13, 2015

One way you can perform this requirement is to write a sling servlet and get the user/group information you need via the Jackrabbit User Manager API. 

https://jackrabbit.apache.org/api/2.2/org/apache/jackrabbit/api/security/user/UserManager.html

Then you can use the return value of the sling servlet to populate a dialog dropdown. See this AEM community article: 

https://helpx.adobe.com/experience-manager/using/dialog_fields_servlets.html

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
December 14, 2015

Hi

Agreeing with Scott.

You need to write sling servlet and use User manager APIto get User/Group info.

Link:- https://helpx.adobe.com/experience-manager/using/jackrabbit-users.html

Link:- https://helpx.adobe.com/experience-manager/using/developing-aem-osgi-bundles-jackrabbit.html

I hope this would help You.

Thanks and Regards

Kautuk Sahni

Kautuk Sahni
Amit_Kumar
Level 10
December 14, 2015

Try using xtype="authselection" in your dialog if this is not what you want then you can use the curl to get the results