We currently have an application we use to setting up user roles. We have a project in that solution that we use as a reference in several of our other web applications. This project contains a Custom Role Provider that is used by these other web applications. We access this Custom Role Provider in each of our other web applications by adding the following to our web.config:
<roleManager enabled="true" defaultProvider="CustomRoleProvider" cacheRolesInCookie="false">
<providers>
<clear />
<add name="CustomRoleProvider" type="EmployeeManager.RoleProvider.CustomRoleProvider" requiresQuestionAndAnswer="false" />
</providers>
</roleManager>
What we would like to do is the expose this Custom Role Provider through a Web Service and have each of our web apps retrieve the role information that way. Can this be accomplished through modifications to the above web.config settings?