Re: What is retrieved by using User.Identity.Name?
- From: Steve <lnuxguy_NOMAIL_PLEASE_@xxxxxxxxx>
- Date: Wed, 22 Aug 2007 08:17:09 -0400
More than likely, it's the AD user object. Check all properties of that user (including the object's name itself) for the lowercase "u".
Steve C.
MCAD,MCSE,MCP+I,CNE,CNA,CCNA
Kai wrote:
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.
- References:
- Re: What is retrieved by using User.Identity.Name?
- From: Kevin Spencer
- Re: What is retrieved by using User.Identity.Name?
- Prev by Date: Accessing cookies from response object
- Next by Date: ASP.NET 2.0 dynamic image - chart
- Previous by thread: Re: What is retrieved by using User.Identity.Name?
- Next by thread: Accessing cookies from response object
- Index(es):
Relevant Pages
|