Defining user attributes

Portlets provide content personalized to the user making the request. As a result, the portlets might require access to user attributes such as the name, email, phone or address of the user. Portlet containers provide a mechanism to make available user information to portlets.

Table 1. User attributes
Property Name Description
User Attributes Defines the user attribute names that the portlets use. Used in the <name> in the <user-attribute> elements. Refer to the JSR 168 Portlet Specification Appendix D User Information Attribute Names for a list of recommended names that are derived from the Platform for Privacy Preferences 1.0 (P3P 1.0) Specification by the W3C (http://www.w3c.org/TR/P3P). For information about user attributes refer to WebSphere® Portal product documentation.
Language

Provides the language information used in the xml:lang attribute to localize the description.

Description

Defines the descriptive text about the user attribute in the <description> element.

 

Related concepts

Portlet APIs

Creating portlets and portlet projects

Working with portlet deployment descriptors

 

Related tasks

Creating, adding, removing, or editing portlets

Configuring JSR 168 portlets

Defining portlet security constraints

Defining custom portlet modes

Defining custom window states

Defining extensions

 

Related reference

References