We are using ASP.net 1.1 on iis 6 and windows 2003 and trying to obtain the windows login id. It works fine in the development machine but when it's deployed on the server, it always gives the login id used to sign-on the server. It doesn't give the user's login id. We used the following to get the login info:
HttpContext.Current.User.Identity.Name
User.Identity.Name
Page.User.Identity.Name()
System.Security.Principal.WindowsIdentity.GetCurrent().Name
Environment.UserName
Please help
Thanks,
HttpContext.Current.User.Identity.Name
User.Identity.Name
Page.User.Identity.Name()
System.Security.Principal.WindowsIdentity.GetCurrent().Name
Environment.UserName
Please help
Thanks,