User Profile Macro

Add the User Profile macro to a page to show profile information about a user. 

This can be useful for:

  • team space homepages
  • project pages. 

The macro will display any details the user has added to their profile, such as their phone number, role, department, and location. 

On this page:

Screenshot: Four User Profile macros on a project page. 

This macro is more useful if your profile is complete. Head to Your User Profile to find out how you can edit your profile details.

Add this macro to your page

To add the User Profile macro to a page:

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

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

Screenshot: Specifying a user in the User Profile 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

Default

Description

Username
(user

none

The username of the Confluence user whose profile summary you wish to show.

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: profile

Macro body: None.

{profile:user=admin}
Last modified on May 30, 2022

Was this helpful?

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