Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NT User Information
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00208026
Message ID:
00208048
Views:
28
>Are there any API calls that will return Windows NT Server user information to VFP. I'm currently using Netlib for some NT functions, but I need to be able to query Windows NT for user home directory and fullname.
>
>Rick Napolitan
>
>nappy@mail.twd.net

From the server or another client? From the server you can use the net user command. I have VFP to create a batch file that adds/modifies/deletes users in NT, but only from the server. I am currently working on a method of synchronizing passwords between NT and Novell. Novell has the setpass command which I've already got down through shellexecute, but in Windows 9x you don't have net user, only net use and some other commands that don't help. I agree with Ed, I'm leaning toward ADSI and WSH. I believe ADSI will allow you to do the password synch, but I haven't fleshed that out as of yet. If anyone has any api calls that will allow you to do these tricks from a Win 9x box, I'd appreciate a "heads up" also.
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Reply
Map
View

Click here to load this message in the networking platform