SimpleMembershipProvider.DeleteAccount(String) SimpleMembershipProvider.DeleteAccount(String) SimpleMembershipProvider.DeleteAccount(String) Method

Definition

Deletes the specified membership account.

public override bool DeleteAccount (string userName);
override this.DeleteAccount : string -> bool
Public Overrides Function DeleteAccount (userName As String) As Boolean
Parameters
userName
String String String

The user name.

Returns

true if the user account was deleted; otherwise, false.

Exceptions

Applies to