Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IPortlet.QueryContainingCommunities Method

Returns an array of IDs of Communities that contains this Portlet instance.

int[] QueryContainingCommunities();

#### Return Value

array of IDs of Communities that contain this Portlet instance

#### Exceptions

Exception Type | Condition
--- | ---
HttpException | if the query interface URL is not valid
PortalException | if the operation resulted in an error on the portal
SoapException | if there is a communication problem during the execution of the remote method call

#### See Also

IPortlet Interface | Plumtree.Remote.PRC Namespace