<< Back - Alkacon logo

OpenCms 6.0 interactive documentation:

Documentation for the 'cms:user' tag

OpenCms logo - Forward >>

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"/>

©2003-2005 Alkacon Software (http://www.alkacon.com) - The OpenCms experts