Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting User Names
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00566514
Message ID:
00566524
Views:
11
>How can I get the user name if I have captured the NT login
>id and what other info is available?

In addition to what Dave told, but easier, IMO, would be to use the WScript.Network object of the Windows Script Host.
LOCAL oNet AS "WScript.Network"
oNet = CREATEOBJECT("WScript.Network")
? oNet.UserName
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform