GROUPINFO{"name"} -- retrieve details about a group
- Syntax:
%GROUPINFO%- Expands to: comma-separated list of all groups
- Syntax:
%GROUPINFO{"groupname"}%- Expands to: comma-separated list of users in that group
- Parameters:
formatFormat of a single user or group in the list. -
$nameexpands to the group name, and (for users list only) -
$wikiname,$usernameand$wikiusernameto the relevant strings. -
$allowschangereturns 0 (false) or 1 (true) if that group can be modified by the current user. -
$allowschange(UserWikiName)returns 0 (false) or 1 (true) if that group can be modified by the specified user (does not work for groups yet.). - The standard FormatTokens are also supported.
$namefor groups list,$wikiusernamefor users listseparatorseparator between items in the list ,headerHeader for the list '' footerFooter for the list '' zeroresultsIf set, and there are no Groups or Members that can be shown, the headerandfooterare suppressed, and this text is outputundefinedshowfilter the output list of Groups - can be set to all,allowschange,denychange,allowschange(UserWikiName),denychange(UserWikiName)allexpandSet false if users should not be expanded from nested groups. Default behavior is to expand all nested groups into a flat list of users. 1 limitIf set, limits the number of results to this infinity limitedIf limit is set, and the list is truncated, this text will be added at the end of the list '' -
Note: GROUPINFO will not list members that are hidden from the current authenticated user. If the current user does not have VIEW authority for a user's topic, then the user will not be shown as a group member.
- Related: USERINFO
History: r1 - 19 Mar 2011 - 21:21:53 - ProjectContributor