AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IPortlet.QueryContainingCommunities Method

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

int[] QueryContainingCommunities();

#### Return Value

An array of IDs of Communities that contain this Portlet instance.

#### Exceptions

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

#### See Also

IPortlet Interface | Plumtree.Remote.PRC Namespace