Posted on: 9/27/2012 1:23:43 AM | Views : 213

I have been working on this all day and found the issue.   I am utilizing the Windows Authentication and SQL Roles Provider.   The problem is when the Windows User is added to roles only the "UserName" is added.  AKA "Domain\End.User"  only End.User is added to the SQL Database.   The problem now is when you use the User.IsInRole it is looking againt "Domain\End.User" which is not in the SQL Database for Roles.
How do I get the User.IsInRole("Admin") to only use my "End.User" part of my name?
...

Go to the complete details ...