The Userlister macro displays a list of users registered in Confluence.
Usage
| What you need to type |
What you will get |
| |
|
Parameters
| Parameter |
Required? |
Default |
Description |
| groups |
Y |
none |
Use parameter name 'group' or 'groups'. Specify one or more groups using a comma-separated list of group names. To see all users in all groups, specify an asterisk ('*'). |
| online |
N |
none |
Specify 'true' to generate a list of online users. Specify 'false' to generate a list of offline users. |
Examples
Listing all Users
Here is an example that lists all the users registered on your Confluence site.
Specifying a Group
Here is an example that lists the users that belong to the group 'my-staff'.
{userlister:groups=my-staff}
Listing Only Online Users
In order to make this feature functional, a System Administrator needs to enable the User Log In Listener for your Confluence site.
Here is an example that lists all currently online users in the 'my-staff' group.
{userlister:groups=my-staff|online=true}
 | List of online users can be misleading
When the parameter 'online=true' is used, Confluence uses a context listener to generate the list of online users. A context listener is a J2EE term for something that listens for events in the application server. We listen for session open and close events, so a user is 'online' if they have a session on the application server. Some application servers don't correctly despatch close events for sessions – in these cases, the list of online users may be misleading. |
RELATED TOPICS
Working with Macros
Configuring the userlister Macro, in the Administrator's Guide
Take me back to Confluence User Guide
Comments (7)
Jan 14, 2008
Peter H. Reiser says:
In Confluence 1.6.2 it seems the userlister macro is broken. It always show all ...In Confluence 1.6.2 it seems the userlister macro is broken.
It always show all users not just online users
e.g
{userlister:online=true\|group=confluence-administrators}Any idea?
Jan 15, 2008
Choy Li Tham says:
Hi Peter, I have found a similar bug report that is currently being tracked at ...Hi Peter,
I have found a similar bug report that is currently being tracked at the following:
The bug report above is pertaining to the userlister macro does not display the online and offline user status correctly in a page. Feel free to add a comment to truly reflect the problem that you are having as well as add yourself as a watcher for future updates.
Regards,
Choy Li
Mar 14
Scott Jungling says:
Looks like the Online status piece of this plugin doesn't work when handing off ...Looks like the Online status piece of this plugin doesn't work when handing off authentication to a 3rd party solution. I'm testing out CAS SSO authentication with Confluence 2.7.2 and I'm getting a No results were found for groups : INSERT ANY GROUP NAME error. Has anyone else experienced this?
Mar 14
James Mortimer says:
I can't get it to work at all with LDAP, online or otherwise. Only groups availa...I can't get it to work at all with LDAP, online or otherwise. Only groups available IN confluence are shown, not LDAP groups. And no online information is shown. Issue is tracked in JIRA. These are some of the related issues:
see: http://jira.atlassian.com/browse/CONF/component/12404 for unresolved issues for this macro
note: please insert this wiki code in the page above:
{jiraissues:url=http://jira.atlassian.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?&pid=10470&component=12404&resolution=-1&sorter/field=updated&sorter/order=DESC&tempMax=50}Apr 23
Mark says:
Expand Parameters Request I'm interested in listing the users of the current spa...Expand Parameters Request
I'm interested in listing the users of the current space on the home page of every space - dynamically.
So it would be useful to have a parameter like
Now I could show all users of the space who else can view the space or who can edit the space, etc.
Having to manually insert the groups makes little sense when you are building dynamic summary pages for many spaces, since after you have hardcoded the group in there they could change over time and you'll have to keep going back in and manually adding the groups.
Jul 28
Mark Rothfield says:
I am looking to produce a list of email addresses for specified groups. We are a...I am looking to produce a list of email addresses for specified groups.
We are a nomadic organisation with no network and no LDAP. Therefore the confluence user groups can function for us as proxy email group lists, provided I can render the lists as email addresses only, to be copied directly into an email.
An ideal outcome would be a macro to click on a link and generate a mailto: in the default mail client, prepopulated with the email addresses (semi-colon separated).
Is this something that can be achieved by writing a user macro? Any help for this eager wiki newbie much appreciated.
Jul 31
Ming Giet Chong says:
Hi Mark, You can create your own plugin by referring this guide hereHi Mark,
You can create your own plugin by referring this guide here. For development query, I would advise you to direct your questions to our forum and mailing list as there might be other user/developers who have already implemented it and should be able to share their ideas with you.
Alternatively, you might want to look at the Mail Page plugin which might be helpful to you.
Regards,
MG
Add Comment