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
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,017 views 2 13
Read article

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