Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Were can I find out which user is logged in?
Message
From
19/01/1999 10:41:06
 
 
To
19/01/1999 09:40:32
General information
Forum:
Windows
Category:
Other
Miscellaneous
Thread ID:
00177149
Message ID:
00177590
Views:
29
>>>Were in the resistery can I find out who is the current user?
>> ....
>>You can also use the Wscript.Network object's UserName property if the Windows Scripting Host has been installed.
>>
>>>
>>>thank you
>
>Thank You Again - this is what I needed.
>
>You wouldn't happen to know the 16 bit call for this?

Sorry, not off the top of my head. I suspect the WNetGetUser() call is pretty much the same, but I don't know the syntax for using the 16 bit call with FoxTools.
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
Reply
Map
View

Click here to load this message in the networking platform