问题
I want to get all users login detail as Administrator in liferay. User login from where is doesn't matter but i want to see list of all users which are login at a time. when user login it will send some identification to admin.
回答1:
Control Panel's Monitoring option allows you to see all of the live sessions in the portal.
For performance reasons, this setting is generally turned off in production. To enable display of live session data, set the portal property live.users.enabled to true.
来源:https://stackoverflow.com/questions/16085553/how-to-get-all-logged-in-users-list-in-liferay