Tags:
create new tag
view all tags

SID-00352: How to find out the members of a particular group ?

Status: Unanswered Unanswered TWiki version: 4.1.2 Perl version: 5.008008 (cygwin)
Category: CategoryMissingFunctionality Server OS: Windows 2003 Last update: 16 years ago

Hi,

Is there a command which lists the members of a TWikiGroup (Other than visiting the page TWikiGroups and searching) ?

I should be able to put this command in a page and get a list of users in a particular group. In a way, I want the complement of the command

%USERINFO{"ChengappaCB" format="$groups"}%

which gives the group the user belongs to.

-- ChengappaCB - 2009-06-04

Discussion and Answer

This returns a list with the members of the group passed in the topic parameter.

%SEARCH{ "Set GROUP =" web="Main" topic="TWikiAdminGroup" nosearch="on" 
nototal="on" multiple="on" format="$percntCALC{$SET(list, $pattern(.*\= *([^\n]*).*))   
$GET(list) }$percnt" }%

Output: HideyoImazu, PeterThoeny, SopanShewale, VickiBrown

-- EnriqueCadalso - 2009-06-08

Thanks for the answer EnriqueCadalso but I had forgotten to mention that I use LDAP contrib to get the groups from the Windows domain. Any ideas in this scenario ?

Your help is very much appreciated !

-- ChengappaCB - 2009-06-09

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2009-08-12

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Unanswered
Title How to find out the members of a particular group ?
SupportCategory CategoryMissingFunctionality
TWiki version 4.1.2
Server OS Windows 2003
Web server Apache 1.3.39
Perl version 5.008008 (cygwin)
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2009-08-12 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.