Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Win2K Groups and User Accounts Programmatically
Message
 
 
À
08/05/2001 13:25:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00504213
Message ID:
00504911
Vues:
17
>In Win NT I can add users to a group using UsrToGrp.exe, how can I remove users from a group (programatically, even with RUN)?

Hmm, I could have sworn I wrote an article on how to do this with ADSI. I don't know how to do it via RUN, but you can do it with ADSI:
ox=GETOBJECT("WinNT://mydomain/mycomputer/Administrators")
ox.delete("myuser")
Disclaimer: haven't tried this, but it should work.
Mike Stewart
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform