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:
00567490
Views:
14
>>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
That was the user neatly disposed of, now what about the password?

Would come in handy for transparent login into other systems?

Is the Windows Script Host installed on any W9x through XP machine or does one have to do something?

BTW George, whatever happened to "Foxpro first..." ?

My latin is a little rusty, so I get a bit about love and god, but what does it really say?

Lot's of questions, I know and I'm already looking forward to your replies.
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform