WindowsTokenRoleProvider.DeleteRole Method
.NET Framework 2.0
This method is not supported by the Windows token role provider.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public boolean DeleteRole ( String roleName, boolean throwOnPopulatedRole )
public override function DeleteRole ( roleName : String, throwOnPopulatedRole : boolean ) : boolean
Not applicable.
Parameters
- roleName
The name of the role to delete.
- throwOnPopulatedRole
If true, an exception will be thrown on an attempt to delete a role that contains one or more members.
Return Value
None. The method is not supported by the WindowsTokenRoleProvider class and always throws a ProviderException.Community Additions
ADD
Show: