Re: [DOTNET] Windows Identity.GetCurrent vs. User.Identity

2002-05-28 Thread Marsh, Drew
Jesse Liberty [mailto:[EMAIL PROTECTED]] wrote: > Right, that is my understanding, but not what I'm seeing on > the page. I'm using Windows authentication, (and impersonate="true"/>) yet the user.identity is correct (has > the expected user name) but the wp version shows > NT\AUTHORITY\SYSTEM.

Re: [DOTNET] Windows Identity.GetCurrent vs. User.Identity

2002-05-28 Thread ChongQing Xiao
e: [DOTNET] Windows Identity.GetCurrent vs. User.Identity Assuming you're using Windows authentication, there is no difference. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages

Re: [DOTNET] Windows Identity.GetCurrent vs. User.Identity

2002-05-28 Thread Jesse Liberty
T] Windows Identity.GetCurrent vs. User.Identity Assuming you're using Windows authentication, there is no difference. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] Windows Identity.GetCurrent vs. User.Identity

2002-05-28 Thread ChongQing Xiao
1:54 PM To: [EMAIL PROTECTED] Subject: [DOTNET] Windows Identity.GetCurrent vs. User.Identity In an ASP.NET application, what is the difference between User.Identity.Name and WindowsPrincipal wp = new WindowsPrincipal(WindowsIdentity.GetCurrent()) wp.Identity.Name When

Re: [DOTNET] Windows Identity.GetCurrent vs. User.Identity

2002-05-28 Thread Marsh, Drew
I wrote: > Assuming you're using Windows authentication, there is no > difference. This is a little misleading. It also assumes you've configured your web application with: Later, Drew You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor

Re: [DOTNET] Windows Identity.GetCurrent vs. User.Identity

2002-05-28 Thread Marsh, Drew
Jesse Liberty [mailto:[EMAIL PROTECTED]] wrote: > In an ASP.NET application, what is the difference between > > User.Identity.Name > > and > > WindowsPrincipal wp = new > WindowsPrincipal(WindowsIdentity.GetCurrent()) > wp.Identity.Name > > When I try this (with anonymous

[DOTNET] Windows Identity.GetCurrent vs. User.Identity

2002-05-28 Thread Jesse Liberty
In an ASP.NET application, what is the difference between User.Identity.Name and WindowsPrincipal wp = new WindowsPrincipal(WindowsIdentity.GetCurrent()) wp.Identity.Name When I try this (with anonymous user off) I get the correct user name from the former, and NT\AUTHO