Download InfoGlue - Developer Manual

Transcript
InfoGlue – Developer Manual
principalProperty
Description
This taglib returns a principal property.
Parameters
Name
Required Default Type
Description
id
true
String
The result is stored in this variable.
userName
false
Object/String The userName of the principal on which we wish to
extract a property.
principal
false
Object/String The principal on which we wish to extract a
property.
attibuteName
false
Object/String The property to fetch.
languageId
false
Object/String The language to fetch in (default current).
ID-result variable contains:
A String-object.
Examples
This will result in that the alias of the current user is printed if it's set in the users
properties.
<management:principalProperty id="alias" attributeName="Alias"/>
The user alias is: <c:out value="${alias}"/>
Author: Mattias Bogeblad
Page 154
2009/01/19