Content by User Macro

tip/resting Created with Sketch.

This macro is being deprecated soon

Read the announcement for more. 

The Content by User macro generates a list of all the content created by a specified user across your Confluence site. This includes current pages, comments, and spaces created by that user. You can click on any item to be taken to the page, comment, or space in which it resides.


The Content by User macro will only display content that the logged in user has permission to see. This means that the same macro may display different content to two users who each have different view permissions. 

Using the Content by User macro

To add the Content by User macro to a page:

  1. In the Confluence editor, choose Insert > Other Macros
  2. Find and select the required macro

Speeding up macro entry with autocomplete: Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Keyboard Shortcuts, Markdown, and Autocomplete.

To edit an existing macro: Click the macro placeholder and choose Edit. A macro dialog window will open, where you can edit the parameters of the macro.


Parameters are options that you can set to control the content or format of the macro output. 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).









The Confluence username for a person who has created content.



no all

Specify one or more space keys, separated by a comma or a space. The macro will display only the content which belongs to the space(s) specified here. 

The macro will insert a default value of 'all', but if no value is specified, it will search the current space.

When specifying a personal space, remember to use the tilde (~) sign in front of the username, such as ~jbloggs or

Maximum number of results to display at a time


no 15 The maximum value for this parameter is 500, which means that only 500 results can show at one time. You can click show more to see the next 500 results.

Wiki markup example

Wiki markup is useful when you need 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.


Last modified on May 1, 2018

Was this helpful?

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