I need to set up this MVC application to use Windows Authentication and Outlook Email Groups to assign Roles to users and then I can authorize the users who are in those Roles to be able to do specific actions in the controller.
I've googled around and found some very useful information about how Roles work with MVC and how I can use the Role Provider class for a lot of Role-based actions. However, these Roles are coming from the SQL Database and do not use Outlook Email-Groups and Windows Authentication to authorize the user.
I am specifically looking to understand how I can leverage Outlook Email Groups but am not finding this information easily. Can anyone help me?
<authentication mode="Windows">
</authentication>
<authorization>
<deny users="?" />
<allow users="?" />
<allow roles="HAH\Domain Users"/>
<deny users="*" />
</authorization>
<roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider">
<providers>
<clear />
<add
name="AspNetWindowsTokenRoleProvider"
type="System.Web.Security.WindowsTokenRoleProvider"
applicationName="/" />
</providers>
</roleManager>