掲示板
Getting the Organization Id for a top-level organization
10年前 に Gaurav Sharma によって更新されました。
Getting the Organization Id for a top-level organization
Junior Member 投稿: 39 参加年月日: 12/11/01 最新の投稿
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.