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
  • 1918 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

Amit_Kumar
New Participant
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

kautuk_sahni
kautuk_sahniAccepted solution
Employee
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
smacdonald2008
New Participant
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