MSDN Library

ExtendedMembershipProvider.DeleteAccount Method

When overridden in a derived class, deletes the specified membership account.

Namespace:  WebMatrix.WebData
Assembly:  WebMatrix.WebData (in WebMatrix.WebData.dll)

Public MustOverride Function DeleteAccount ( _
	userName As String _
) As Boolean
Dim instance As ExtendedMembershipProvider
Dim userName As String
Dim returnValue As Boolean

returnValue = instance.DeleteAccount(userName)


Type: System.String
The user name.

Return Value

Type: System.Boolean
true if the user account was deleted; otherwise, false.

  • Medium trust for the immediate caller. This member can be used by partially trusted code.
© 2016 Microsoft