Forums de discussion
Getting the Organization Id for a top-level organization
Gaurav Sharma, modifié il y a 10 années.
Getting the Organization Id for a top-level organization
Junior Member Publications: 39 Date d'inscription: 01/11/12 Publications récentes
I'm able to get the organizationId using the following code:
But this code does not work for top-level orgs.
ThemeDisplay themeDisplay = LiferayFacesContext.getInstance().getThemeDisplay();
long liferayOrganizationId = themeDisplay.getScopeGroup().getOrganizationId();
But this code does not work for top-level orgs.