Do this also delete the user from any roles/memberships/sites, ect
private bool DeleteUser()
// Get the user
UserInfo deleteUser = UserInfoProvider.GetUserInfo("MyNewUser");
// Delete the user
return (deleteUser != null);
Roles are assigned to a user and a User is unqiue row in a database. Considering this relationship deleting a user will make it so. Deletion of a user will delete all associations.
Please, sign in to be able to submit a new answer.