Try our conversational search powered by Generative AI!
AI OnAI Off
Hi,
This made through the membership provider:
var user = Membership.GetUser(userName); user.IsApproved = true; Membership.UpdateUser(user);
In Episerver CMS you can check/uncheck the users active state by editing the user.
But how can you do this from code?