community:user
Retrieves the User from the community with the given name, userId, sectionId, articleId specified. If none of these are given it gets the logged in user.
<community:user id="user" name="section"/> <util:valueof param="user.article.fieldElement(USERNAME)"/>
Syntax
<community:user articleId="..."? id="..." name="..."? sectionId="..."? userId="..."?/>
Attributes
id
, mandatory, no runtime expressionsName of the scripting-variable.
name
Name of the scripting-variable where to get the user information from. This can be a PresentationPerson, Person, PresentationSection, Section, PresentationArticle or Article object.
userId
The id of the user you want to get.
sectionId
The id of the user his homesection.
articleId
The id of the user his profileArticle.