Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows NT 4.0 UserName into a VFP 6.0 application?
Message
De
29/12/1999 14:50:35
 
 
À
29/12/1999 14:14:50
John Vlahos
V I Software Solutions Design
Mississauga, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00310006
Message ID:
00310043
Vues:
22
>How can I get the UserName used to log on to a NT 4.0 Windows Workstation, into a VFP 6.0 application?
>

SYS(0) returns a string with the station's NetBIOS name and windows login userid
WNetGetUser() API call
Wscript.Network object Username property

The list goes on from there. Lots of ways to skin this kitty...
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
Répondre
Fil
Voir

Click here to load this message in the networking platform