This question about Using an extension: Answered

List group's users in select?

Is there a macro to get the users with in group use that list for the 'select' keyword of the table?

-- IvanDebono - 12 Aug 2016

You should be able to use the GROUPINFO macro with format= tokens to return the members in whatever format you need.     See VarGROUPINFO. To get a comma separated list, use:
%GROUPINFO{"ReleaseManagersGroup" format="$wikiname" separator=","}%

which expands as
CrawfordCurrie,KennethLavrsen,SvenDowideit,GeorgeClark,MichaelDaum

Note that if you do not have "view authority" on the particular users topic, then it will be suppressed from the list. The Format Tokens are rather thinly documented.

  • $wikiname - Expands to just the wikiname
  • $wikiusername - Expands including the web qualifier Main.wikiname
  • $username - Is the login name if your wiki uses distinct login and wiki names.

-- GeorgeClark - 13 Aug 2016
 

QuestionForm edit

Subject Using an extension
Extension EditRowPlugin
Version Foswiki 2.1.2
Status Answered
Related Topics
Topic revision: r2 - 13 Aug 2016, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy