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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

1,040 views 23 13
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