Hi i am deleting the user as follows.
UserController userController = new UserController();
UserInfo user = userController.GetUser(currentUser.PortalID, currentUser.UserID);
UserController.DeleteUser(ref user, true, false); // soft delete of user
When i am deleting the user the user roles are also deleting. I dont want to delete the user roles. how could i implement this. is there any solution for this.....