I have a site with ASP.net 2.0 ID for user management with several external authentication options (google, facebook, etc.).
I want to give users the option to delete their account. I found a good example of how to implement this in this answer: ASP.NET MVC 5 how to delete a user and associated data in Identity 2.0
However, I want someone else to not register the old username of the user when they delete their account. However, e-mail should be released if they decide to re-register.
I want the ABC user not to delete his account, and then someone unrelated to the ABC username (this may cause confusion / problems in my use case).
I am looking for tips on best practices for implementing this. Is there anything built into the ASP identifier? Or should I store the / sql db list somewhere from all the registered user names (remote and active) and just check for new users on this list?
Thank.
source
share