Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Win2K Groups and User Accounts Programmatically
Message
 
 
À
08/05/2001 14:47:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00504213
Message ID:
00504954
Vues:
16
>The syntax above seems that it will delete a user, but I want to remove a user from a group.

Actually, I had the syntax wrong: ox.remove("WinNT://mydomain/myuser"). Delete only works on certain container objects.

>I tried it anyway and got: "OLE error code 0x800401ea: Moniker could not open file".
>
>ox=GETOBJECT("Windows NT:\\mu005873\Administrators")
>
Your syntax is wrong. Take another look at my example.
Mike Stewart
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform