A user name element displays the current user's name in
a presentation template, component design, or element design. You
can only use a user name element by creating a user name component.
You cannot add a user name element to authoring templates, site areas,
or content items.
- Enter identification information for the component.
- Create an anonymous user design. This is used when an anonymous
user accesses a Web site. You must select "Display Anonymous" to enable
the Anonymous user design. If "Display Anonymous" is not selected,
the user name element is not rendered when an anonymous user accesses
a Web site.
- Create a user name design. This is displayed when an authenticated
user accesses a Web site. You can use a placeholder tag with a value
of "name" in the user name design to display the name of the current
user. For example:
[placeholder tag="name" start="Welcome " end=" to this Site" ]
To display the distinguished name of a user, use tag="dn".
[placeholder tag="dn" start="Welcome " end=" to this Site" ]