Confluence 5.4 has reached end of life
Check out the [latest version] of the documentation
The User List macro has an optional Display Online parameter. If the User Listener plugin is configured to allow this feature, then the page author can select Display Online to show a list of all online users.
You need to have System Administrator permissions in order to perform this function.
To enable the Display Online filter in the User List macro:
- Choose the cog icon at top right of the screen, then choose Confluence Admin.
- Select Plugins in the left-hand panel. This will list the currently installed plugins.
- Scroll down and click User Listener. The User Listener plugin panel will appear at the top of the screen.
- Enable the User Log In Listener module by clicking Enable on its right.
- Restart Confluence.
List of online users can be misleading
When the Display Online parameter 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.
Screenshot: Enabling the User Log In Listener