473,396 Members | 2,033 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,396 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 7978
"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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.