May 09, 2012 05:17 PM|AZMatt|LINK
Are you getting an error message when you use this?
If not, check the value that HttpContext.Current.User.Identity.Name is returning. Many times, it is pre-pending your domain to the username like "MYDOMAIN\myusername". You may need to parse this out in order to compare with a value in your database by