G
Guest
Hi all,
in my asp.net 2.0 (VB2005) application I use
httpContext.Current.User.Identity.Name to get the samaccount of the currently
logged in user, e.g. DOM\UserA. This works fine for most users, but with just
1 user we have a case-sensitive problem: It always returns DOM\userA, so a
small "u" at the start. I've checked his AD-Settings and they seem to be
correct. I've checked his login (he needs to login to both Windows and then
Terminal Server) so he really logs in with DOM\UserA (with a capital "U").
Nevertheless it does not help, my web app still recoginzes him as DOM\userA.
I've checked
http://msdn2.microsoft.com/en-us/library/system.web.httpcontext.user(vs.80).aspx
without success. On IIdentity.Name I got this information "The user name is
passed to the common language runtime by the operating system or other
authentication provider (such as ASP.NET)." which also does not really help.
So which field is used to retrieve HttpContext.Current.User.Identity.Name?
Many thanks in advance!
in my asp.net 2.0 (VB2005) application I use
httpContext.Current.User.Identity.Name to get the samaccount of the currently
logged in user, e.g. DOM\UserA. This works fine for most users, but with just
1 user we have a case-sensitive problem: It always returns DOM\userA, so a
small "u" at the start. I've checked his AD-Settings and they seem to be
correct. I've checked his login (he needs to login to both Windows and then
Terminal Server) so he really logs in with DOM\UserA (with a capital "U").
Nevertheless it does not help, my web app still recoginzes him as DOM\userA.
I've checked
http://msdn2.microsoft.com/en-us/library/system.web.httpcontext.user(vs.80).aspx
without success. On IIdentity.Name I got this information "The user name is
passed to the common language runtime by the operating system or other
authentication provider (such as ASP.NET)." which also does not really help.
So which field is used to retrieve HttpContext.Current.User.Identity.Name?
Many thanks in advance!