Plumtree Pluggable Navigation API  
 

NavigationModel.GetDefaultCommunityPassSubportal Method 

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.

public virtual int GetDefaultCommunityPassSubportal(
   IPTSubPortalInfo ptSubPortalInfo
);

Parameters

ptSubPortalInfo
Current user's Subportal object

Return Value

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.

See Also

NavigationModel Class | com.plumtree.portalpages.common.uiparts Namespace