GROUPINFO -- retrieve details about a group

Parameters

Parameter DescriptionSorted ascending Default
show filter the output list of Groups - can be set to all, allowschange, denychange, allowschange(UserWikiName), denychange(UserWikiName) all
footer Footer for the list  
format Format of a single user or group in the list.
  • $name expands to the group name, and (for users list only)
  • $wikiname, $username and $wikiusername to the relevant strings.
  • $allowschange returns 0 (false) or 1 (true) if the group can be modified by the group member being processed.
  • The standard FormatTokens are also supported.
 
header Header for the list  
limited If limit is set, and the list is truncated, this text will be added at the end of the list  
zeroresults If set, and there are no Groups or Members that can be shown, the header and footer are suppressed, and this text is output undefined
limit If set, limits the number of results to this
"groupname" Optional name of group  
separator separator between items in the list ,
expand Set 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

ALERT! 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.

Examples

  • %GROUPINFO% expands to AdminGroup, BaseGroup, NobodyGroup, SysAdminGroup (comma-separated list of all groups)
  • %GROUPINFO{AdminGroup"}% expands to Main.AdminUser, DavidLeBlanc, PatrickCahalan (comma-separated list of users in the requested group)
  • groupname can optionally be qualified with the Main prefix, any other web prefix will return an empty list.

USERINFO

This topic: System > Category > UserDocumentationCategory > Macros > VarGROUPINFO
Topic revision: 2018-02-27, UnknownUser
This site is powered by FoswikiCopyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding CMS Wiki? Send feedback