Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DOS HELP with VFP
Message
 
To
25/04/2001 08:22:52
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00499218
Message ID:
00499700
Views:
13
>Thank you for your reply. When I try to use the API calls, it assumes that the user already has a valid connection to the server. I want to do more than just map a drive. I want to programmatically login them into an NT server from an NT/2000 workstation and then be able, through some error handling variable know if the user was successfully logged in, if they need to change a password, if the server is down....

I missed that part the first time. There are other optional parameters to the MapNetworkDrive method that let you specify the username and password to use if you want to use credentials other than the logged in user. I'm assuming (I know) that you are using the username/password when you run NET USE. You are obviously logged into the NT/2K workstation. Are you using a different user name for the share you are trying to connect to?

Roger
Previous
Reply
Map
View

Click here to load this message in the networking platform