Yes, this is basically what I want to do... can you show me a line of code that I can insert into config.php to check which AD group a user belongs to?
Thanks, Robert -----Original Message----- From: Vince Administration [mailto:[email protected]] Sent: Thursday, March 31, 2011 2:54 PM To: Peter Bowers Cc: Robert Matthews; [email protected] Subject: Re: [pmwiki-users] hide links for certain groups On Mar 31, 2011, at 3:41 PM, Peter Bowers wrote: > On Thu, Mar 31, 2011 at 9:19 PM, Robert Matthews > <[email protected]> wrote: >> Something like... >> If {member of AD group} then >> Do nothing >> Else {member of any other group} >> Display the link >> endif > The question I would ask is: "How do you determine if a user is a member of the AD group? We do a lot of things like this, with checking which groups a user belongs to done in config.php. (This a a secure site, login required, Then php functions called from config.php check group membership, and set authgroups or php variables, which can be checked by (:if auth ... or (:if enabled ... Vince _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
