Plumtree Pluggable Navigation API  
 

IPluggableNavModelRO.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 nCommID
);

Parameters

nCommID
ID of the Community to check access to

Return Value

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

See Also

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