Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How Can I Get User Name & Password from Network?
Message
De
03/01/2000 15:00:41
 
 
À
03/01/2000 13:36:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00311806
Message ID:
00311838
Vues:
21
>Hi all,
>
>Does anyone know of a clean way to get the NT user name and password from within a VFP app?
>

The Username is no problem - there are a half-dozen or more ways to do this, from SYS(0), API calls, ActiveX components...the list is nearly endless.

NT will not give you back the password for a user. The best you can do is to call the Win32API either through direct manipulation or through an ActiveX component to verify that you have the correct password for the specific userid.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform