public static void DeleteUserRelation(int id, string userName) { UserPermissions.DeleteFieldPermissions(id, 0); UserPermissions.DeleteNodePermissions(id, -2); UserPermissions.DeleteSpecialPermissions(id); UserValidLog.Delete(userName); UserPointLog.Delete(userName); Contacter.DeleteByUserName(userName); }