Report for all user groups in AEM | Community
Skip to main content
Adobe Champion
August 1, 2023
Solved

Report for all user groups in AEM

  • August 1, 2023
  • 2 replies
  • 1744 views

Is there a Out of the Box way or ACS Commons utility to get a report of all User groups in AEM?

I saw something in ACS Commons for getting the list of users here - etc/acs-commons/exporters/usergroupstagelist.html, but not for user group.

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 Sid_Gour

Hi @p_v_nair ,

I doubt whether we have exclusive 'User Group exporter' from acs-commons. But I think you can use the users exporter with custom filters to include properties related to user groups, such as group membership and group-related properties.

You can use below CURL command to get user groups, 

curl -u admin:admin http://localhost:4502/home/groups.tidy.-1.json

The response will contain information about all user groups, including their properties and members.

 

Thanks,

2 replies

EstebanBustamante
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
August 1, 2023
Esteban Bustamante
P_V_NairAdobe ChampionAuthor
Adobe Champion
August 1, 2023

@estebanbustamante  If you saw my initial post, I already mentioned this link in there. I am looking for usergroup report and not users list.

EstebanBustamante
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
August 1, 2023

Sorry I didn't see you already posted the link, but I meant that you get a list of groups in that ACS Commons UI, so you could just inspect the network and see how that is being retrieved. 

Esteban Bustamante
Sid_Gour
Sid_GourAccepted solution
Level 3
August 1, 2023

Hi @p_v_nair ,

I doubt whether we have exclusive 'User Group exporter' from acs-commons. But I think you can use the users exporter with custom filters to include properties related to user groups, such as group membership and group-related properties.

You can use below CURL command to get user groups, 

curl -u admin:admin http://localhost:4502/home/groups.tidy.-1.json

The response will contain information about all user groups, including their properties and members.

 

Thanks,