WindowsTokenRoleProvider.DeleteRole Method (String, Boolean)
.NET Framework (current version)
This method is not supported by the Windows token role provider.
Assembly: System.Web (in System.Web.dll)
Parameters
- roleName
-
Type:
System.String
The name of the role to delete.
- throwOnPopulatedRole
-
Type:
System.Boolean
If true, an exception will be thrown on an attempt to delete a role that contains one or more members.
Return Value
Type: System.BooleanNone. The method is not supported by the WindowsTokenRoleProvider class and always throws a ProviderException.
| Exception | Condition |
|---|---|
| System.Configuration.Provider.ProviderException | An unsupported method was called. |
.NET Framework
Available since 2.0
Available since 2.0
Show: