Hi guys,
We have recently tried to implement a scenario where users should be defined as inactive and the admin would have to activate the users from the back-end
The scope was to run some code after the user is activated by the admin.
What we have noticed though (with the above setting), is that the user is created in the database initially with Active = true, then another save is performed on the user to set the Active = false. Hence it is impossible to determine when the user moved from Inactive to Active.
Solution is 9.15.7.
Is this the correct behavior? Is there any other way to determine from a notification when the user was actually activated by the admin? All our attempts so far have been unsuccessful.
We have tried several notifications, the last ones used are UserOnBeforeSave and UserSaved and we tried to compare the values for Active before and after save.
Thank you,
Adrian