Re: HttpContext.Current.User.Identity.Name & ServerVariable("LOGON_USE
From: Dominick Baier [DevelopMentor] (dbaier_at_pleasepleasenospamdevelop.com)
Date: 10/26/05
- Previous message: [MSFT]: "RE: Upload files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 26 Oct 2005 07:37:22 -0700
Hello Barry,
who is logged on - and what does it return?
---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com
> I have an Intranet application that uses the
> System.Web.HttpContext.Current.User.Identity.Name to grab the
> DOMAIN\USERNAME of the current user.
>
> SCENARIO:
> The user logs into their machine with their id/password and
> authenicates
> against the domain. Fine. That works. However, when this user surfs
> to my
> Intranet application the Current.User.Identity.Name returns a
> different
> USERNAME than what was logged into the machine with.
> While troubleshooting this issue, I found that when using the
> SERVERVARIABLE("LOGON_USER") to get the DOMAIN\USERNAME, the correct
> USERNAME is returned.
>
> Does anybody have an idea as to why the two would produce different
> results?
>
> Thanks in advance. Barry
>
- Previous message: [MSFT]: "RE: Upload files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|