Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DOS HELP with VFP
Message
 
À
25/04/2001 08:22:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00499218
Message ID:
00499700
Vues:
12
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform