Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows 2000 Users
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00812720
Message ID:
00814105
Vues:
14
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform