Click or drag to resize
GnomonRoleProviderDeleteRole Method
Removes a role from the data source for the configured applicationName.

Namespace: RMP.Web
Assembly: RMP.Web (in RMP.Web.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public override bool DeleteRole(
	string roleName,
	bool throwOnPopulatedRole
)

Parameters

roleName
Type: SystemString
The name of the role to delete.
throwOnPopulatedRole
Type: SystemBoolean
If true, throw an exception if roleName has one or more members and do not delete roleName.

Return Value

Type: Boolean
true if the role was successfully deleted; otherwise, false.
Exceptions
ExceptionCondition
NotImplementedException
See Also