Click or drag to resize
CMSADRoleProviderDeleteRole Method
Deletes specified role.

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