Although Robert's question was specific to Windows active directory, he's 
touched on a more general problem: how would you check within config whether 
someone is a member of an authuser group?

I tested this function on a group called "@members" after including 
authuser.php, but it didn't work:

function isMember($str) {
     $memberarray = $AuthUser['@members'];
     foreach ($memberarray as $m) {
          if ($m==$str) {
               return true;
          }
     }
     return false;
}

Randy

On Mar 31, 2011, at 2:53 PM, Vince Administration wrote:
>> 
> The question I would ask is: "How do you determine if a user is a member of 
> the AD group?

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to