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 abstract bool DeleteAccount(
	string 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: