Share via


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

  • throwOnPopulatedRole
    Type: System.Boolean

    If 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