The <cms:user> tag

This tag provides access to read the properties of the current user as specified in the "User - Management" backoffice module.

Attributes:

Name Description Required
property Specifies which value to read of the current user. The following values are supported:
  • "name": the user's login name
  • "firstname": the user's first name
  • "lastname": the user's last name
  • "email": the user's email address
  • "street": the user's street address
  • "zip": the user's zip code
  • "city": the user's city
  • "description": a clear text string with a description of the user
  • "otherstuff": custom key/value coded additional information
yes

Body:

This tag has no body content!

Example usage:

Get the first and the last name of the current user:

<cms:user property="firstname"/> <cms:user property="lastname"/>