Developer forum

Forum » CMS - Standard features » RE: Deactivate a user if he is inactive?

RE: Deactivate a user if he is inactive?

Jens Jakob Vedel Kristensen
Reply

Hi,

I am trying to figure out how it would be possible to construct a functionality that helps the webadmin maintain a user database with clients, who logs in to their Extranet frontend.

E.g. a functionality that checks once a day if certain users have been active (logged in to Extranet Frontend) for a certain period of time. If a user has not been logged in to the Extranet for e.g. 60 days, then deactive this user and send the web admin a notiifation email.

Does this scenario sound doable in some way?

Thank you in advance :-)


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Jens Jakob

You can use a smart search in user management to locate users that are active and have not been logged in for 60 days. Based on that search you can i.e. send them a mail to let them know they are missed, or you can deactivate the users from that list.

If you want to automate the search and deactivate process, it has to be custom - you could write a scheduled task add-in to handle that and let it run once a day.

BR Nicolai

 
Jens Jakob Vedel Kristensen
Reply

Hi Nicolai

Thank you for your input. I just tried the Smart Search to identify the users, and that part worked fine.

Next part is for me to evaluate the specific needs in relation to custom solution like you suggest. Perhaps the first part will do as a first step, to give them an overview of the clients in question.

Thanks

 

You must be logged in to post in the forum