I am using Liferay 6.1.1.
I have created a portlet with <aui:form>
having two text fields and a button.
On submit I want to know the userId who submitted the below form:
<aui:form action="<%=myUrl%>" method="post">
<aui:input type="text" name="name"></aui:input>
<aui:input type="text" name="addr"></aui:input>
<aui:button type="submit" value="save"></aui:button>
</aui:form>
How can I get the userId?