Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IPortletRequest.IsInCommunity Method 

Checks if Portlet is currently displayed in a Community page.

bool IsInCommunity();

Return Value

true if the Portlet is displayed in a Community page and false otherwise

Exceptions

Exception Type Condition
NotGatewayedException if the request is not gatewayed

See Also

IPortletRequest Interface | Plumtree.Remote.Portlet Namespace