Content by User Macro

Add the Content by User macro to a page to display a list of all the things created by a particular user including spaces, pages, blog posts, comments, attached files, and even user accounts. 

This is a legacy macro, and doesn't provide any way to limit the amount of information displayed. This means it can cause timeouts if the user specified has created a lot of content. 

Advanced search is a much better way to find all content created by a specific person. 

On this page:

Screenshot: The Content by User macro displaying everything created by a particular user.

Add this macro to your page

To add the Content by User macro to a page:

  1. From the editor toolbar, choose Insert > Other Macros.
  2. Choose Content by User from the Confluence content category.
  3. Enter the username of the person you want to activity for.
  4. Choose Insert

You can then publish your page to see the macro in action. 

Screenshot: specifying a user in the Content by User macro

Change the macro parameters

Macro parameters are used to change the behaviour of a macro.

To change the macro parameters:

  1. In the editor, click the macro placeholder and choose Edit.
  2. Update the parameters as required then choose Insert.

Here's a list of the parameters available in this macro. 

Parameter

Required

Default

Description

Username

(name)

yes

none

The Confluence username for a person who has created content.

This parameter is unnamed in wiki markup.

Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets (example).

Other ways to add this macro

Add this macro as you type

Type followed by the start of the macro name, to see a list of macros. 

Add this macro using wiki markup

This is useful when you want to add a macro outside the editor, for example as custom content in the sidebar, header or footer of a space.

Macro name: content-by-user

Macro body: None.

{content-by-user:jsmith}
Last modified on Oct 13, 2023

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.