Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How Can I Get User Name & Password from Network?
Message
From
03/01/2000 15:00:41
 
 
To
03/01/2000 13:36:02
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00311806
Message ID:
00311838
Views:
26
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform