Hi,
I want to enumerates all groups of which the current user is a member.

Script

$Index = 0
DO
$Group = ENUMGROUP($Index)
$Index=$Index+1
? $Group
UNTIL Len($Group) = 0

The result is, that all groups are not announced.
With a Vbs Script I get all groups.

dsRoot = "WinNT://dom/user"
set wshShell = Wscript.CreateObject("Wscript.Shell")
set dsObj = GetObject(dsRoot)
For Each Prop In dsobj.groups
wshshell.popup Prop.Name
Next

Help!!

Thanks
Kachte