ASP.NET 2.0 Issue with User.Identity.Name not in proper caps!?

  • Thread starter Thread starter Alex Hawkins
  • Start date Start date
A

Alex Hawkins

Guest
I am using the User.Identity.Name property to display my users name when they comment on things on my site, the problem is that User.Identity.Name works using data they entered at Login, so their names are hardly ever capitalized as they should be.
Now I had been using an SQL call to access their proper names, but that is processor overhead that I don't want.
Is there a way that I can do a single SQL call when they log on (in code-behind) that would reset the User.Identity.Name to the proper caps (as entered in my db)? I just need a code sample or something.

I am using MS SQL and I don't want to mess with LINQ, I am too far into the development cycle.
 
Back
Top