Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows 2000 Users
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00812720
Message ID:
00814105
Views:
13
>If you want to see membership, you can do something like:
>
>LOCAL oGroup
>lcMyDomain = "MYDOMAIN"
>oGroup = GetObject("WinNT://" + lcMyDomain + "/MyDomainGroup")
>FOR EACH oMember IN oGroup.Members
>    ?oMember.Name
>ENDFOR
>
That's the one I couldn't get to work - I needed the "group name" (where I put MyDomainGroup) in GetObject(). Great, now I can discard the Resource Kit for this sort of thing. Thanks.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform