Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMembershipProvider.DeleteUser Method

Removes a user from the membership data source.

[Visual Basic]
Public Sub DeleteUser( _
   ByVal username As String, _
   ByVal deleteAllRelatedData As Boolean _
bool DeleteUser(
   string username,
   bool deleteAllRelatedData


The name of the user to delete.
true to delete data related to the user from the database; false to leave data related to the user in the database.

Return Value

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

See Also

IMembershipProvider Interface | Spring.Web.Providers Namespace