473,327 Members | 1,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Retrieve UserName and Computer Name

I have tried using servervariables("XXX") to request the username and
computer name of the individual running code on our internal server, but
what I want and can't seem to capture is the user's network logon and
computer name. The user's logon anonymously.
Server: Windows 2000
Workstations: Windows XP

Tim
Jul 19 '05 #1
2 2550
On Tue, 16 Mar 2004 14:58:24 -0600, "TIML" <t3***@hotmail.com> wrote:
I have tried using servervariables("XXX") to request the username and
computer name of the individual running code on our internal server, but
what I want and can't seem to capture is the user's network logon and
computer name. The user's logon anonymously.
Server: Windows 2000
Workstations: Windows XP


You can't get normally that from IIS/ASP (especially using anonymous
logins) but you can from WSH on the client side. See the WSHNetwork
object for details and check a scripting group for specifics.

Jeff
Jul 19 '05 #2
Thanks Jeff
"Jeff Cochran" <jc*************@naplesgov.com> wrote in message
news:40*****************@msnews.microsoft.com...
On Tue, 16 Mar 2004 14:58:24 -0600, "TIML" <t3***@hotmail.com> wrote:
I have tried using servervariables("XXX") to request the username and
computer name of the individual running code on our internal server, but
what I want and can't seem to capture is the user's network logon and
computer name. The user's logon anonymously.
Server: Windows 2000
Workstations: Windows XP


You can't get normally that from IIS/ASP (especially using anonymous
logins) but you can from WSH on the client side. See the WSHNetwork
object for details and check a scripting group for specifics.

Jeff

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Matt | last post by:
Hi everybody, does anyone know how to retrieve the computer name using ASP? cheers...
6
by: Miguel Orrego | last post by:
Hi, I have found some code that authenticates users agains a domain using ADSI. I then redirect to another page and pass the username they have entered as a string. However, it would be nice to...
14
by: Brent Burkart | last post by:
I am trying to capture the Windows Authenticated username, but I want to be able to capture the login name that exists in IIS, not Windows. In order to enter my company's intranet through the...
2
by: Stefke | last post by:
Hi, I want to write a little application with a textbox in which I can enter a systems host name or ip address. After clicking on a button Get Info, I want to display an overview of the systems...
5
by: tjonsek | last post by:
I am trying to pull the user logon info in an application to use as a security stamp when someone completes a function. So far, I am able to retrieve the computer name. This is, however, not what...
0
by: george_Martinho | last post by:
It seems that the ASP.NET Microsoft team didn't think about this!! The profilemanager class has the following methods: - DeleteInactiveProfiles. Enables you to delete all profiles older than a...
2
by: adam | last post by:
Hi ASP Expert, My goal is to retrieve my local machine's %USERNAME% environment variable from ASP page. When I enter http://RemoteServerName/testusername.asp?id=%USERNAME% directly into the IE...
1
by: icetilloveu | last post by:
i have this code: <?php // Connects to your Database mysql_connect("localhost") or die(mysql_error()); mysql_select_db("eurialz") or die(mysql_error()); //This code runs if the form has been...
1
maxamis4
by: maxamis4 | last post by:
Hello folks, Here is the backgroup. I am creating an agent that can find a user in LDAP and return the last logon date. Now i am not sure if with active directory you can user the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.