Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I authenticate who the client is
Message
From
12/04/2000 21:50:10
 
 
To
12/04/2000 11:00:42
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00358689
Message ID:
00359072
Views:
11
>I have an ASP page that is running in Outlook 2000. I want to determine at this point whp my user is. How can I find the username for both Windows NT, and Windows 95.
>
>I first wrote a small COM object, registered it on the server, and then ran it from the ASP page using the CREATEOBJECT function. What I got back was IUSER_VIPER where VIPER ios the server name. I then attempted to run the script use the RUNAT=SERVER and RUNAT CLIENT command. It did not care for the client one.
>
>Anyway I expect them to be different because security is handled differently between NT and 95. I am relatively new to this stuff, so if there is any help out there I would appreciate it.

Trivially, fire an instance of Wscript.Network and get the username property back. There's got to be a hlf-dozen ways to go at it from the API, too.
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