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
Subscribe to:
Post Comments (Atom)
Popular Posts
- How to create database view with Oracle SQL Developer Data Modeler
- Primefaces fileDownload in Liferay
- How to enable CKEditor in PrimeFaces Extension
- How to backup Oracle SQL Developer Data Modeler project
- Eclipselink Cache Coordination with JBoss and JMS
- How to handle multilingual error messages for jQuery validation plugins
- Import/Export MySQL database with SQLyog
- Handling Many-to-Many relationship in relational model
- How to edit Liferay email notification templates
- How to easily embed a Google Map in your website
No comments:
Post a Comment