community:groupMembers
Retrieves all the members from the group with the given name or groupId specified. You can set a type of member.
<community:groupMembers id="members" name="group"/> <logic:empty name="members"> No real members found </logic:empty> <logic:notEmpty name="members"> <logic:iterate id="member" name="members" type="com.ndc.presentation.PresentationUser"> <util:valueof param="member.section.url"/> <util:valueof param="member.article.fieldElement(USERNAME)"/> </logic:iterate> </logic:notEmpty>
Syntax
<community:groupMembers groupId="..."? id="..." name="..."? type="..."?/>
Attributes
id
, mandatory, no runtime expressionsThe name of the scripting-variable.
name
Name of the scripting-variable where to get the group information from. This can be a PresentationGroup, PresentationSection, Section, PresentationArticle or Article object.
groupId
The id of the group you want to get.
type
The type of members you want to receive. This can be "accepted","candidate","invited". Default is "accepted"