Get the default Community ID - the ID set in PTConfig.xml or if that is zero, then the ID of the first community in a user's membership list.
Current user's Default Community ID or -1 if Community access is disabled on the subportal or the user isn't member of any communities.
NavigationModel Class | com.plumtree.portalpages.common.uiparts Namespace