I am working on a web application that requires users to be placed in roles and to receive different permissions based on their roles. This can be easily done using forms authentication and SqlRoleProvider. But the application will be used inside the corporate intranet, and forms authentication forces users to manually register each time they want to use the application. Using Windows Integrated Authentication looks a lot more elegant since users are already logged into the corporate domain. But there is a problem with roles, built-in authentication by default uses roles that are built into Windows user accounts (group membership, etc.). My application requires me to put users in user roles. As for the role associated with database management, this is a much more cost-effective solution. Is there a way to use integrated Windows authentication (for authentication) along with SqlRoleProvider (for roles and user management)?
source share