How do I get the email ID of a logged in Liferay user (from within a portlet) ?
I referred to this link but to no avail.
You can just use the following code in your JSP:
<%@ taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %>
<%= user.getDisplayEmailAddress() %>
You can just use the following code in your JSP:
<%@ taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %>
<%= user.getDisplayEmailAddress() %>