Click or drag to resize
CMSRoleProviderDeleteRole Method
Deletes specified role.

Namespace: CMS.MembershipProvider
Assembly: CMS.MembershipProvider (in CMS.MembershipProvider.dll) Version: 13.0.131
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