I have a system where users can log on to for their account details. In the admin section I would like the option to put any user on inactive, preventing them access. System.User already has an Active and an Blocked attribute. Which one should I use to disable a user account?
asked
Robert van 't Hof
1 answers
2
I've used the "active" attribute where the boolean is switched "on". If you want to make the user inactive switch it "off".