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\AUTHORITY\SYSTEM with the latter. Thanks. -j ------------------------------- Jesse Liberty, President Liberty Associates, Inc. .NET Programming and Training http://www.LibertyAssociates.com You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.