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
Community showcase
Posted Dec 10, 2018 in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

212 views 6 8
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