Originally Posted By: Glenn Barnas
Your group names actually contain the word "group"?? (as in "Group Support" and not a group called "Support").
 Code:
If InGroup('name')
  'Is in the group' ?
Else
  'is NOT in the group' ?
EndIf
Glenn

Yes, some groups have the word "group" at the beginning

 Originally Posted By: Richard H.
Try this little script to sanity check the groups:
 Code:
$=SetOption("Explicit","ON")
Break ON

Dim $sGroup,$iIndex

$iIndex=0

"--Starting enumeration for "+@USERID+@CRLF
$sGroup=EnumGroup($iIndex)
While $sGroup
	IIf(InGroup($sGroup),"  Passed","**FAILED")+" checking InGroup() for '"+$sGroup+"'"+@CRLF
	$iIndex=$iIndex+1 $sGroup=EnumGroup($iIndex)
Loop
"--Enumeration done"+@CRLF

Not showing all groups that the User has the active directory


Edited by Valentim (2010-01-07 03:02 PM)
_________________________