AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IPortletRequest.GetSubPortalID Method

Returns the ID of the subportal that the accessing user belongs to.

int GetSubPortalID();

#### Return Value

The subportal ID.

#### Exceptions

Exception Type | Condition
--- | ---
NotGatewayedException | The request is not gatewayed.
ProtocolNotSupportedException | Used with a version of the portal that does not support this feature.
NotInRequestException | The administrator has not configured the portal to send the subportal ID to this portlet.

#### See Also

IPortletRequest Interface | Plumtree.Remote.Portlet Namespace