Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows NT Users and Groups
Message
De
25/08/2000 15:50:30
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00409329
Message ID:
00409411
Vues:
25
>Is there a Windows API function that I can use to determine what Groups a User is a member of?
>
>I'm talking about the Users and Groups that are in the Windows NT User Manager.

This is easy if ADSI is installed on the machine:

oUser = GETOBJECT("WinNT://SOMEDOMAIN/someusername,User")
FOR EACH oItem IN oUser.Groups
?oItem.Name
ENDFOR
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform