Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Win2K Groups and User Accounts Programmatically
Message
 
 
To
08/05/2001 14:47:08
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00504213
Message ID:
00504954
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform