AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IObjectManager.QueryCommunitiesForPortlet Method

Returns an array of IDs of the Communities that contain the portlet with the specified ID.

int[] QueryCommunitiesForPortlet(
int portletID
);

#### Parameters

portletID
  The Portlet ID.

#### Return Value

An array of IDs of Communities that contain the portlet.

#### Exceptions

Exception Type | Condition
--- | ---
HttpException | The query interface URL is not valid.
PortalException | The operation resulted in an error in the portal.

#### See Also

IObjectManager Interface | Plumtree.Remote.PRC Namespace