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)

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

returnValue = instance.DeleteAccount(userName)

Parameters

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.
Show:
© 2016 Microsoft