Share via


MembershipAdapter.DeleteUser Method (String, Boolean)

.NET Framework 4

Namespace:  Microsoft.AspNet.Membership.OpenAuth
Assembly:  Microsoft.AspNet.Membership.OpenAuth (in Microsoft.AspNet.Membership.OpenAuth.dll)

Syntax

'Declaration
Public Function DeleteUser ( _
    userName As String, _
    deleteAllRelatedData As Boolean _
) As Boolean
'Usage
Dim instance As MembershipAdapter 
Dim userName As String 
Dim deleteAllRelatedData As Boolean 
Dim returnValue As Boolean 

returnValue = instance.DeleteUser(userName, _
    deleteAllRelatedData)
public bool DeleteUser(
    string userName,
    bool deleteAllRelatedData
)
public:
virtual bool DeleteUser(
    String^ userName, 
    bool deleteAllRelatedData
) sealed
abstract DeleteUser : 
        userName:string * 
        deleteAllRelatedData:bool -> bool  
override DeleteUser : 
        userName:string * 
        deleteAllRelatedData:bool -> bool
public final function DeleteUser(
    userName : String, 
    deleteAllRelatedData : boolean
) : boolean

Parameters

Return Value

Type: System.Boolean

Implements

IMembership.DeleteUser(String, Boolean)

See Also

Reference

MembershipAdapter Class

DeleteUser Overload

Microsoft.AspNet.Membership.OpenAuth Namespace