SingleSignOnRoleProvider.DeleteRole Method (String, Boolean)
Reserved for system use. Do not use.
Namespace: System.Web.Security.SingleSignOn
Assembly: System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)
Syntax
public override bool DeleteRole(
string roleName,
bool throwOnPopulatedRole
)
public:
virtual bool DeleteRole(
String^ roleName,
bool throwOnPopulatedRole
) override
override DeleteRole :
roleName:string *
throwOnPopulatedRole:bool -> bool
Public Overrides Function DeleteRole (
roleName As String,
throwOnPopulatedRole As Boolean
) As Boolean
Parameters
roleName
Type: System.StringThe name of the role to delete.
throwOnPopulatedRole
Type: System.BooleanIf true, throws an exception if roleName has one or more members.
Return Value
Type: System.Boolean
true if the call was successful; otherwise, false.
See Also
SingleSignOnRoleProvider Class
System.Web.Security.SingleSignOn Namespace
Return to top