Returns user profile attributes, or empty strings if the user has not been validated.
Usage#
<wiki:UserProfile property="<property>" />!Parameters
- property
- the property to evaluate
Properties:
- exists - valuates the body of the tag if user's profile exists in the user database
- created - creation date
- email - user's e-mail address
- fullname - user's full name
- loginname - user's login name
- modified - last modification date
- new - evaluates the body of the tag if user's profile does not exist in the user database
- roles - the roles the user is associated with
- wikiname - user's wiki name
Example#
<wiki:UserProfile property="exists">
<tag body>
<wiki:UserProfile />
Evaluates the tag's body if the User Profile exists. (checks if the profile is new or not)
<wiki:UserProfile property="exists">
<tag body>
<wiki:UserProfile />