| SimpleActiveDirectoryRoleProviderDeleteRole Method |
Removes a role from the data source for the configured applicationName.
Note: This is not implemented for this Role Provider.
Namespace:
Galactic.Web.Security.SimpleActiveDirectory
Assembly:
Galactic.Web.Security.SimpleActiveDirectory (in Galactic.Web.Security.SimpleActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public override bool DeleteRole(
string roleName,
bool throwOnPopulatedRole
)
Public Overrides Function DeleteRole (
roleName As String,
throwOnPopulatedRole As Boolean
) As Boolean
public:
virtual bool DeleteRole(
String^ roleName,
bool throwOnPopulatedRole
) override
abstract DeleteRole :
roleName : string *
throwOnPopulatedRole : bool -> bool
override DeleteRole :
roleName : string *
throwOnPopulatedRole : bool -> bool
Parameters
- roleName
- Type: SystemString
The name of the role to delete. - throwOnPopulatedRole
- Type: SystemBoolean
A boolean indicating whether an exception should be thrown if there are still users contained in the role.
Return Value
Type:
BooleanTrue if the role was deleted, false otherwise.
See Also