473,327 Members | 2,055 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.

Getting LOGON_USER

I am trying to retrieve the LOGON_USER and it comes up blank. Below is my
code:

struser = Request.ServerVariables("LOGON_USER")

Can anyone help? I need to validate internal people on out intranet.
Thanks.

David
Jul 19 '05 #1
1 7973
"David Chase" <dl*****@lifetimeinc.com> wrote in message
news:ec**************@TK2MSFTNGP09.phx.gbl...
I am trying to retrieve the LOGON_USER and it comes up blank. Below is my
code:

struser = Request.ServerVariables("LOGON_USER")

Can anyone help? I need to validate internal people on out intranet.


You did to require authentication/not allow anonymous access.

http://www.microsoft.com/windows2000/en/server/iis/

Microsoft Internet Information Server
Administration
Server Administration
Security
Authentication
Access Control

http://www.microsoft.com/technet/pro...entication.asp
HOW TO: Configure IIS 5.0 Web Site Authentication in Windows 2000
http://support.microsoft.com/?id=310344
HOW TO: Configure User and Group Access on an Intranet in Windows 2000 or
Windows NT 4.0
http://support.microsoft.com/?id=325358
HOW TO: Configure IIS Web Site Authentication in Windows Server 2003
http://support.microsoft.com/default...b;en-us;324274
--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #2

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

Similar topics

3
by: JZ | last post by:
I am using Webware installed on Windows2000 server and I found I could not find all server variable like PHP could. E.g. Windows2000 server has specific variable LOGON_USER which is set for every...
3
by: Maria | last post by:
I'm trying to get the NT login id of a user on a web page without making the user type it into a login box. I'm using the LOGON_USER server variable. The problem is, if the web page allows...
0
by: David Chase | last post by:
I am trying to retrieve the LOGON_USER and it comes up blank. Below is my code: struser = Request.ServerVariables("LOGON_USER") Can anyone help? I need to validate internal people on out...
5
by: Alex Wolff | last post by:
Hi, I need to know if its possible to create an ASP page that when requested will display the network id of the requester. Most people have told me to query the...
2
by: Fabiano | last post by:
Please, I need to control the user acess into my intranet pages. Is there a way i can get the current user logged at my network, that is acessing a specific page? My idea is to get the user...
5
by: T. | last post by:
Hello, I'm trying to pull the logon user's name using Request.ServerVariables("LOGON_USER")...which is returning nothing...so I need help in determining why it's returning nothing, or I need the...
9
by: Patrick Olurotimi Ige | last post by:
On PageLoad i did -: name.ID = Request.ServerVariables; on asp.net page i have <asp:textbox runat="server" ID="name"/> But when i load my page the textbox is blank Any ideas? *** Sent via...
1
by: Ryan | last post by:
I am trying to figure out why I am trying to use the result of Request.ServerVariables("LOGON_USER") in a query in my aspx application. I want to use the server variable. When I check the...
0
by: Mark Rae | last post by:
Hi, I apologise that this isn't *specifically* an ASP.NET issue - I will also post it to the IIS newsgroup - but I thought I'd ask here anyway on the off-chance that someone may have come across...
2
by: lmlaster | last post by:
I have 2 webs under my default web running win2003 1. A front-page intranet 2. A asp (not .net) web is fine Both allow anonomous access. My front page web always gets a BLANK...
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...
0
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...
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.