Thanks for all those have looking into this.....I got it....
strComputer = "XXXXX"
Set colGroups = GetObject("WinN T://" & strComputer & "")
colGroups.Filte r = Array("group")
For Each objGroup In colGroups
For Each objUser in objGroup.Member s
If objUser.name = "hgjhhgj" Then
Wscript.Echo objGroup.Name
End If
Next
Next
Comment