Re: What is retrieved by using User.Identity.Name?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



It returns the "user name" whatever authentication method you are using so
the real source could differ.

My guess is that you are using integrated authentication. I'm not sure what
is the problem. AFAIK the username is not case sensitive i.e. UserA and
userA are the same user.

I would likely look at where the username is used and needs to be in a
particular case rather than to try to use a particular case from the start.

Technically I believe it returns the "Windows 2000 legacy name" or something
similar...

---
Patrice

"Kai" <Kai@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le message de news:
B0DB09DA-8978-4EB8-9D64-FEBB4AD05189@xxxxxxxxxxxxxxxx
Hi Kevin,

thanks for the reply, but I don't want to retrieve anything from the
Active
Directory. I just want to know how ASP / IIS 6 retrieves / computes the
value
which is returned when using HttpContext.Current.User.Identity.Name? One
user
logs in with DOM\UserA but it returns DOM\userA. Why is there a small 'u'
instead of a capital one? For me I could log on as I like, it ALWAYS
returns
DOM\UserB (also when I login to Windows using DOM\userb).
Thanks

"Kevin Spencer" wrote:

You can try using "distinguishedName" - See
http://www.microsoft.com/technet/scriptcenter/guide/sas_usr_doig.mspx?mfr=true
for more information.



.



Relevant Pages

  • RE: script fails first time with "accept client certificates"
    ... If you want to use username and password for the request, you should check which authentication method you are using. ... use Windows integrated authentication method for you so that you can take full advantage of windows security features. ... choose SSL to secure the connection, Basic and digest authentication will also help you a lot. ... Microsoft Product Support Services ...
    (microsoft.public.inetserver.iis.security)
  • RE: Access to portal from internet
    ... SPS uses windows integrated authentication method to ... If in intranet, there is one automatic ... logon feature of IE and IIS server for Windows Authentication method. ...
    (microsoft.public.sharepoint.portalserver.development)
  • LogonUser Error -1314 on Window2000
    ... We are having the exact same problem. ... that this authentication method will not work on Win2000 ... and earlier platforms, but will work on XP and Windwows ... something that will work on NT, Windows 2000 and Windows ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Enter Network Password Window Appears for web access
    ... This is a Windows 2000 / iis 5.0 Server. ... website it comes up with the following window ... The authentication method on the Directory Security side ...
    (microsoft.public.inetserver.iis)
  • Re: 802.1X, Windows supplicant and IAS
    ... is that i am using eap/tls as authentication method. ... The first try to logon with the machine certifikate fails and after 30 ... Here are ny logs: ...
    (microsoft.public.security)