I have a Register page, I used the following Walkthrough: Creating a Web Site with Membership and User Login to make my webpage. The problem is the Registration page creates users, but I am clueless about how to delete user accounts from the Database where it gets stored.
Share
The membership provider has a DeleteUser method.
http://msdn.microsoft.com/en-us/library/w6b0zxdw.aspx
The following works just as well:
Membership.DeleteUser("username");If you want a SQL based solution:
http://web.archive.org/web/20130407080036/http://blogs.rawsoft.nl/remco/post/2009/02/05/How-to-Remove-users-from-the-ASPNet-membership-database.aspx