How do i get the liferay logged user object or id in a managed bean of an icefaces portlet??
somebody told me that with request.getRemoteUser() i could get the userid, but how to get the Portlet Request Object in the managed bean??
When I try and use the class UserServiceUtil I only get one method from Eclipse's autocomplete function. I've added the liferay-service.jar as an external JAR from the folder %LIFERAY_HOME/server/default/lib/ext.
The liferay-service.jar and liferay-kernel.jar has different names, at least in the liferay-portal-5.2.3. Instead of the referenced names, the names are portal-service.jar and portal-kernel.jar respectively
ps: I know that this post is a bit old..but just to keep it updated and somehow contribute with the community.