Hi all,
I'm using DNN 5.x;I want to delete an user from C# code. The code I tested is:
UserInfo objUserInfo = DotNetNuke.Entities.Users.UserController.GetUser(0, userid, false);
UserController.DeleteUser(ref objUserInfo, false, false);
Howver, the correponding record remains in tables: aspnet_users, aspnet_membership, users. What should I use to get full deletion?
Thanks.