Deleting all users and related data from a site using ASP.NET authentication is fairly simple. Useful if copying a database and you want to remove all the users, but keep the structure and other data (e.g. user content) intact.
Delete all users:
foreach (MembershipUser u in Membership.GetAllUsers())
{
Membership.DeleteUser(u.UserName, true);
}