The add element adds a role provider instance to the role management provider collection that is stored in the providers element.
The providers element defines a collection of role providers for role management.
For information about accessing and modifying configuration values for the roleManager element in application code, see RoleManagerSection, WindowsTokenRoleProvider, SqlRoleProvider, and AuthorizationStoreRoleProvider.
Default Configuration
The following default providers element is configured in the Machine.config file.
|
<roleManager>
<providers>
<add name="AspNetSqlRoleProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="AspNetWindowsTokenRoleProvider" applicationName="/" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> </providers>
</roleManager>
|