Click or drag to resize
Galactic API

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
)

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: Boolean
True if the role was deleted, false otherwise.
See Also