Membership.DeleteUser Method (String)
.NET Framework (current version)
Deletes a user and any related user data from the database.
System.Web (in System.Web.dll)
static member DeleteUser :
username:string -> bool
The name of the user to delete.
true if the user was deleted; otherwise, false.
The following code example deletes the currently logged-on user and all related data.
No code example is currently available or this language may not be supported.
Return to top
Available since 2.0