Share via


SingleSignOnMembershipProvider.DeleteUser Method (String, Boolean)

 

This method supports the AD FS infrastructure and is not intended to be used directly from your code.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Syntax

public override bool DeleteUser(
    string name,
    bool deleteAllRelatedData
)
public:
virtual bool DeleteUser(
    String^ name,
    bool deleteAllRelatedData
) override
override DeleteUser : 
        name:string *
        deleteAllRelatedData:bool -> bool
Public Overrides Function DeleteUser (
    name As String,
    deleteAllRelatedData As Boolean
) As Boolean

Parameters

  • deleteAllRelatedData
    Type: System.Boolean

    true to delete data related to the user from the database; false to leave data related to the user in the database.

Return Value

Type: System.Boolean

true if the call succeeded; otherwise, false.

See Also

SingleSignOnMembershipProvider Class
System.Web.Security.SingleSignOn Namespace

Return to top