Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IPortletRequest.GetCommunityID Method 

Returns the ID of the Community in which the Portlet is currently displayed.

int GetCommunityID();

Return Value

the Community ID

Exceptions

Exception Type Condition
NotGatewayedException if the request is not gatewayed
NotInCommunityException if the Portlet is not displayed in a Community page

See Also

IPortletRequest Interface | Plumtree.Remote.Portlet Namespace