Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Martin Sørensen 4 posts 24 karma points
    Oct 08, 2014 @ 10:25
    Martin Sørensen
    0

    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

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Oct 08, 2014 @ 12:19
    Alex Skrypnyk
    0

    Try to change IsLockedOut property.

  • Martin Sørensen 4 posts 24 karma points
    Oct 08, 2014 @ 13:16
    Martin Sørensen
    0

    There is no isLockedOut property for a User.

Please Sign in or register to post replies

Write your reply to:

Draft