Try our conversational search powered by Generative AI!

Delete an user via admin gui does not delete the profile


When I delete an user from admin page. I can see that I still have a row for that deleted user in aspnet_Profile

Next time I create a new user with same username as the deleted one. It automatically gets that old profile connected to the new user.

Is this correct behaviour?

Expected for me is that when I delete an user, the profile gets deleted as well from aspnet_Profile.

or that I can call something like EPiServerProfile.Delete(..) would be nice.

Thanks for taking your time

Oct 17, 2017 14:57

Hey, Stefan,

If you are using latest Episerver, you could intercept user provider, see Dejan's blogpost here.


Oct 18, 2017 16:44
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.