Generate a list of users and their groups in Confluence

Hi Everyone,

 

I am looking to generate a list of all the users and show their group membership and display this on a Confluence page. (E.g. Joe Bloggs, confluence-users, Developer)

Is this possible with a user macro?

 

Thanks for the help,

m.w

 

 

3 answers

You can use Scripting for Confluence. And there is a specific example for groups/users. After installing, use Insert markup on the following. More information at Script - user by group (beanshell)

{beanshell:output=wiki|script=#https://bitbucket.org/bob_swift/examples/raw/tip/confluence/beanshell/userByGroup.bsh|groupName=confluence-administrators}
{beanshell}

You can also use the User List macro to display the users, grouped by security group.

@Milo Grika ,

To which macro do you refer exactly? Is it the 'User Limit Manager'?

Thanks in advance,

Thank you. In the meantime, I've found the 'User List' macro, native to Confluence. By entering a group name as criteria, it displays the name, firstname, userid and email of all its members: https://confluence.atlassian.com/display/CONF58/User+list+Macro

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,927 views 27 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you