留言板
Auto Disabling users after certain days
bala malasani,修改在11 年前。
Auto Disabling users after certain days
New Member 帖子: 20 加入日期: 12-9-25 最近的帖子
Hi all,
How to disable the users in liferay based on thair laslogindate through programming ,any suggetions or reference links available please provide to me.
How to disable the users in liferay based on thair laslogindate through programming ,any suggetions or reference links available please provide to me.
Hi,
You have to write a scheduler for it, which will execute say every EOD and checks all user's last login date and deactivate them based on the condition
HTH
Thanks
Rahul
You have to write a scheduler for it, which will execute say every EOD and checks all user's last login date and deactivate them based on the condition
HTH
Thanks
Rahul
Hitoshi Ozawa,修改在11 年前。
RE: Auto Disabling users after certain days
Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
Google "liferay cron" to find how to schedule cron jobs. You can do it by specifying it in xml file or programmatically.
Apoorva Prakash,修改在11 年前。
RE: Auto Disabling users after certain days
Liferay Master 帖子: 658 加入日期: 10-6-15 最近的帖子bala malasani:
Hi all,
How to disable the users in liferay based on thair laslogindate through programming ,any suggetions or reference links available please provide to me.
Hello Bala,
You can use Liferay Portlet schedular, see this...
Hope this will help...
Thanks and Regards,
Apoorva Prakash
Hi Apoorva,
I think an easier way is to use the message listener.
Check : http://liferayazam.wordpress.com/2012/06/10/create-a-scheduler-in-liferay-6/
Thanks,
Siby
I think an easier way is to use the message listener.
Check : http://liferayazam.wordpress.com/2012/06/10/create-a-scheduler-in-liferay-6/
Thanks,
Siby
Apoorva Prakash,修改在11 年前。
RE: Auto Disabling users after certain days
Liferay Master 帖子: 658 加入日期: 10-6-15 最近的帖子Siby Mathew:
Hi Apoorva,
I think an easier way is to use the message listener.
Check : http://liferayazam.wordpress.com/2012/06/10/create-a-scheduler-in-liferay-6/
Thanks,
Siby
Yea Siby, it also seems a good option...
Thanks for sharing...
bala malasani,修改在11 年前。
RE: Auto Disabling users after certain days
New Member 帖子: 20 加入日期: 12-9-25 最近的帖子
Thanks for your help, as per the requirement i need to call procedure from portlet to disable users after certain days bassed on their lastlogin date value. how to call procedure from portlet? i wil write schedular for this portlet .