community:isGroupMember

Check if the user is member of the group. Default it gets the loggedin user.

  <community:isGroupMember
        id="isGroupOwner"
        name="group"
        type="admin" />
  <logic:equal name="isGroupOwner" value="false">
    Only for admin
  </logic:equal>
Syntax
<community:isGroupMember
   groupId="..."?
   id="..."?
   name="..."?
   type="..."?
   user="..."?
   userId="..."?
   value="..."?>
   ...
</community:isGroupMember>
Attributes
id, no runtime expressions

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.

user

The object of the user you want to get. This can be a PresentationUser, PresentationPerson, Person, PresentationSection, Section, PresentationArticle or Article

userId

The id of the user you want to get.

type

The type of members you want to receive. This can be "all","invited","pending","admin". Default is "all"

value

This can be "true" or "false". Default is "true"