Your code looks fine.

I would check the IIS setings for directory security and make sure 
it's using "integrated windows authentication" and make sure 
"anonymous access" is turned off. My guess would be the empty 
logon_user is due to the fact that IIS is serving up the page to an 
unauthenticated (ie, anonymous) request.

Post back if you get it working-
Steve


At 04:10 PM 11/23/2010, Jarvis, Matthew wrote:
>I'm pretty sure I've seen/done this before but for the life of me can't
>figure my way though this...
>
>
>
>Doing some work on our intranet where no login is required other than
>full windows authentication to access the workstation.
>
>
>
>On a web page I want to be able to identify the user based on that login
>used to get into the machine in the first place.
>
>
>
>I am having trouble echoing back values for LOGON_USER and AUTH_USER and
>am wondering if I'm just missing a simple step.
>
>
>
>Any thoughts on this and/or example code?
>
>
>
>
>
>x = Request.ServerVariables("LOGON_USER")
>
>response.write (x)
>
>
>
>y = Request.ServerVariables("AUTH_USER")
>
>response.write (y)
>
>
>
>I get a whole lotta nothin'...
>
>
>
>
>
>Thanks,
>
>
>
>Matthew Jarvis || Business Systems Analyst
>IT Department
>McKenzie-Willamette Medical Center
>1460 G Street, Springfield, OR  97477 || Ph: 541-744-6092 || Fax:
>541-744-6145
>
>
>
>
>
>--------------------------------------------------------------------------
>Disclaimer: This electronic message may contain information that is
>Proprietary, Confidential, or legally privileged or protected. It
>is intended only for the use of the individual(s) and entity named
>in the message. If you are not an intended recipient of this
>message, please notify the sender immediately and delete the
>material from your computer. Do not deliver, distribute or copy
>this message and do not disclose its contents or take any action in
>reliance on the information it contains.
>
>--- StripMime Report -- processed MIME parts ---
>multipart/alternative
>   text/plain (text body -- kept)
>   text/html
>---
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to