ExtendedMembershipProvider.DeleteAccount Method
When overridden in a derived class, deletes the specified membership account.
Namespace: WebMatrix.WebData
Assembly: WebMatrix.WebData (in WebMatrix.WebData.dll)
Syntax
'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)
public abstract bool DeleteAccount(
string userName
)
public:
virtual bool DeleteAccount(
String^ userName
) abstract
abstract DeleteAccount :
userName:string -> bool
public abstract function DeleteAccount(
userName : String
) : boolean
Parameters
- userName
Type: System.String
The user name.
Return Value
Type: System.Boolean
true if the user account was deleted; otherwise, false.
Remarks
For more information, see SimpleMembershipProvider.DeleteAccount(String).