I am using liferay6.I deployed my web application inside liferay.After Login,it is redirecting to one page.In that jsp page,i want to set organization id of logged in user in a javascript variable.How can i do this.Can anyone pls explain.
userId
of logged in User by themeDisplay.getUserId()
userId
, you can get the User's Organizations by OrganizationLocalServiceUtil.getUserOrganizations(userId)