The Userlister macro has been updated for the Confluence 1.4 release to provide a greater range of flexibility. For convenience, the 1.3 Userlister usage documentation is provided below.
How is the online status determined? I tried it on mine and for a saturday night got a whole lot of users that aren't at work.

Posted by robert@customware.net at Jul 09, 2005 06:27
|
If people don't explicitly log out they are still shown as logged on.

Posted by tom@atlassian.com at Jul 10, 2005 18:50
|
It seems that "logged in users" survives a system reboot which is unfortunate since people never log off explicitly! So what appeared to be a nice feature is meaningless in most cases.

Posted by bob.swift@lakeviewtech.com at Jul 12, 2005 17:34
|
There's a problem with some application servers (such as Tomcat) in that there's no way to find out who a session belonged to after it expired, so people who don't explicitly log out are shown as being logged on.
(Technically this isn't really a problem with the application servers, since they're adhering to the letter of the J2EE Servlet spec, regardless of how stupid that particular piece of the spec is.)

Posted by cmiller at Jul 12, 2005 18:34
|
Bob: I'm not sure how this is possible. The list of logged-in users is stored in memory, and triggered by login events. It's never persisted, so it's hard to understand how it could survive a reboot.

Posted by cmiller at Jul 12, 2005 18:35
|
One would think it not possible, but I would also think having 30-40 users being logged in about 5 minutes after a reboot at 6:00am is most unlikely! I will check one more time next reboot.

Posted by bob.swift@lakeviewtech.com at Jul 13, 2005 14:08
|
Confirmed that they survive a reboot. Rebooted and still have lots of users ONLINE. Also, I see under my profile that I have been logged in for a couple of weeks: Last Login: Jun 29, 2005
I think that was the day we upgraded to 1.4.1, and we have rebooted about 25 times since then!

Posted by bob.swift@lakeviewtech.com at Jul 13, 2005 22:49
|
I got a feature request to have a page which lists all confluence-users with their profile-pictures. I think this might be a good extension for this macro. It could be rendered just like the gallery with an argument to specify the number of columns.
E. g.
{userlister:groups=confluence-users|online=true|gallery=true|columns=3}
What do you think?

Posted by thragor@gmx.net at Nov 15, 2005 01:33
|
I wouldliek to support this.
Additional information of value are IM contacts, phone numbers etc.
Basically a view into a directory.
Maybe this can be handled in a fairly generic way?

Posted by ingomar at Dec 16, 2005 04:43
|
Is your application server set up to persist sessions?

Posted by tom@atlassian.com at Feb 02, 2006 22:28
|
userlister macro in my Confluence (2.1.3, standalone app container) never shows any users as being online (including me). I have only just begun to use the userlister, but I know that when I experimented with it last month (an earlier version of Confluence 2), I did see myself showing up as online.
Anyone else having a problem with this?

Posted by cherylchase at Feb 08, 2006 21:13
|
Cheryl,
The userlister macro has problems detecting the current status of a user. You can find an open issue for this in Jira.
Cheers,
Jens

Posted by jens@atlassian.com at Feb 08, 2006 21:34
|
I get a NullPointerException when using this on 2.1.5 with LDAP enabled.
I think UserList.java needs another line of code in the build method:
if (null == user) continue;
Regards...

Posted by adrian.p.smith@bt.com at Mar 27, 2006 14:47
|
Hi Adrian,
As I mentioned in your support request, there's a ticket open for this at CONF-5821.
Jeremy

Posted by jeremy@atlassian.com at Mar 29, 2006 17:02
|
Hi,
I'm trying to write a JIRA connection page in a global space, and I need to do that silly add uid and password thing.
Is there a macro that will reflect my login and password?
I know how insecure it is, but I am writing a corporate system on an internal intranet. If baddies make it here, reading JIRA will be the least of our problems.

Posted by cmarshall at Jun 23, 2006 11:40
|
Chris,
There is no macro which provides you with the users password. This is because Confluence only stores a hashed version of the password and therefore it can not be retrieved again.
Cheers,
Jens

Posted by jens@atlassian.com at Jun 28, 2006 02:49
|
Here's an idea for a useful enhancement to the userlister macro.
I'd like the userlister macro to show me a list of users that is a member of the confluence-users group but no others. Most of our spaces require membership in a specific group name for write access. Generally, when a space is set up we create a "spacename-users" and a "spacename-admin" group and often users will register but need to be added to one of the project groups.
I wrote a script which does this but it broke when I installed version 2.2.* and I haven't had the chance to figure out why. My "show new users" page has been really helpful for managing who has registered but is not affilliated with any groups.

Posted by jaf30@cornell.edu at Jun 29, 2006 11:01
|
It seems like it doesnt work for LDAP groups!

Posted by loetterle at Sep 07, 2006 10:03
|
Most things won't - if you outsource user management to LDAP then you've, er..., outsourced user management to LDAP. As such you'll need to write macros that query your LDAP server (which is where you are storing your user info) rather than Confluence...

Posted by gfraser at Sep 07, 2006 11:41
|
I don't how you set up your LDAP in Confluence, bu I have LDAP authentication set up and I can use this macro to display users in LDAP groups. It works just like regular Confluence group, no special configuration is needed.

Posted by yalei.li@novartis.com at Nov 03, 2006 11:27
|
Has anyone come up with a way to make this list two columns? We have played with a variety of methods, but nothing really does it easily and well.

Posted by jsonnenfelt@gmail.com at Jan 18, 2007 08:05
|
The Reporting Plugin may be of use here. A variation of the User Contact Cards using the report-table macro may serve your purposes.

Posted by david@randombits.org at Jan 18, 2007 08:14
|