<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>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?</div><div><br></div><div>I tested this function on a group called "@members" after including authuser.php, but it didn't work:</div><div><br></div><div><div>function isMember($str) {</div><div>     $memberarray = $AuthUser['@members'];</div><div>     foreach ($memberarray as $m) {</div><div>          if ($m==$str) {</div><div>               return true;</div><div>          }</div><div>     }</div><div>     return false;</div><div>}</div></div><div><br></div><div>Randy</div><div><br></div><div><div>On Mar 31, 2011, at 2:53 PM, Vince Administration wrote:</div><blockquote type="cite"><div><blockquote type="cite"><font class="Apple-style-span" color="#000000"><br></font></blockquote>The question I would ask is: "How do you determine if a user is a member of the AD group?<br></div></blockquote></div><br></body></html>