I am working with Umbraco users from a user control and I want to be able to manage which members should be allowed to use Umbraco.
I can easily create (User.MakeNew) and disable (User.Disable()) an Umbraco user, but I am looking for a way to reactivate disabled users in code. Isn't it possible ??
btw: Yes I know it's an old version, but that's how it is.
Enable disabled umbraco user in user control (C#)
Umbraco v 4.11.10
I am working with Umbraco users from a user control and I want to be able to manage which members should be allowed to use Umbraco.
I can easily create (User.MakeNew) and disable (User.Disable()) an Umbraco user, but I am looking for a way to reactivate disabled users in code. Isn't it possible ??
btw: Yes I know it's an old version, but that's how it is.
Best regards, Martin
Try to change IsLockedOut property.
There is no isLockedOut property for a User.
is working on a reply...