Define user attributes
Commonly, portlets provide content personalized to the user making the request. In turn, they may require access to user attributes such as the name, email, phone or address of the user. Portlet containers provide a mechanism to expose 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 <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 that are supported by WebSphere Portal 5.0.2.x, refer to Using JSR 168 for WebSphere Portal in the WebSphere Portal product documentation. Language Language information used in the xml:lang attribute to localize the description. Description A descriptive text about the user attribute. Used in <description>.
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
Related reference
References