Content by User Macro
The Content by User macro generates a tabulated list of the content items, throughout the Confluence installation, that have been created by a specified Confluence user. The list includes all current pages, comments and spaces created by the user. Each item in the table is linked to its corresponding page, page comment or space dashboard.
Note that items for page comments contain a link to the page, followed by a second link to the comment itself, with these separated by a greater-than sign (>).
Using the Content by User macro
To add the Content by User macro to a page:
- From the editor toolbar, choose Insert > Other Macros
- Find and select the required macro
Speed it up with autocomplete: Type { and the beginning of the macro name, to see a list of suggested macros. In this example we're inserting the cheese macro.
To edit an existing macro: Click the macro placeholder and choose Edit. This will open the macro details, so you can edit the macro parameters.
Parameters
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
).
Parameter | Required | Default | Description |
---|---|---|---|
Username
| yes | none | The Confluence username for a person who has created content. Parameter is unnamed in wikimarkup. |
Wiki markup example
This example 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}