I've build a portlet, and now, i want that portlet gives me the name of user who is logged in. To acess the portlet, the user must log in first.
Where should i go to get the name of the user? Can you give me an java code snippet.
Thanks
portletRequest.getRemoteUser()