Plumtree Pluggable Navigation API  
 

ICommunityPreviewNavPageRO.GetAccessibleCommunityID Method 

Checks for at least read access to the specified Community, If current user lacks access, get the user's default Community and user has no default communities, return -1.

int GetAccessibleCommunityID(
   int nSubPortalCommID
);

Parameters

nSubPortalCommID

Return Value

int Returns an accessible Community for the current user or -1 if none can be found

See Also

ICommunityPreviewNavPageRO Interface | com.plumtree.portalpages.common.plugnav Namespace