Skip to main content
Version: 1.21.3

authheader

Use the <authheader> tag to display a user name and avatar, or prompt users to log in if they have not yet.

Available attributes:

AttributeTypeMandatoryDescription
classStringNSpecify the CSS class name defined in the CSS field of the widget
profileUrlStringNSpecify the path to the service portal section that contains the current user's profile page.
If specified, the Profile item is available in the user menu. Otherwise, this item is not available, and users cannot open their profiles.

Example:

authheader
<authheader profileURL="/portal/cabinet">

The template above adds the following element to the page: