Deactivate a user after specific time

Hi, Is there a way to deactivate a user and block the user from accessing application if he/she hasn’t logged in for more than, lets say, 60 days? In Admin, there’s option to set Active as yes or no. I believe if set to No, it’d block a user from accessing the application. Can this be customised with the time period constraint? Mendix version is 9.10
1 answers

There is no default functionality for this, so I think you would need to create a scheduled event which runs every day and checks active users for there lastlogin date and sets them to active=false. This indeeds blocks them for logging in to your application.