I am developing an intranet application with Windows Authentication, I have implemented a custom role provider and tied that in with my repository which has Users and Roles.
I use [Authorize(Role="Administrator")]
on my controller class. I am logged in as "UserA", and I have implemented GetRolesForUser(string username)
. Additionally, "UserA" is an "Administrator" role however Authorization still seems to fail.
Do I still have to implement the MembershipProvider?