Wednesday, October 18, 2017

How to easily get logged in user in Liferay.



ServiceContextThreadLocal.getServiceContext().getUserId();


reference:
http://liferay-hacks.blogspot.my/2014/01/get-current-logged-in-user-easily-in.html

LinkWithin

Related Posts Plugin for WordPress, Blogger...