Click or drag to resize
CMSRoleProviderDeleteRole Method
Deletes specified role.

Namespace: CMS.MembershipProvider
Assembly: CMS.MembershipProvider (in CMS.MembershipProvider.dll) Version: 12.0.0
Syntax
C#
public override bool DeleteRole(
	string roleName,
	bool throwOnPopulatedRole
)

Parameters

roleName
Type: SystemString
Role name
throwOnPopulatedRole
Type: SystemBoolean
Throw exception on role which is populated

Return Value

Type: Boolean
See Also