Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IPortletResponse.ReturnToPortal Method

Redirects the user to the portal page on which they started.

void ReturnToPortal();

#### Remarks

This method is usually used when a user has clicked through to a Preferences page and clicks "Done" or "Cancel." Note: This method will end the processing of the page and immediately redirect the user back to the portal page.

#### Exceptions

Exception Type | Condition
--- | ---
NotGatewayedException | if the request is not gatewayed

#### See Also

IPortletResponse Interface | Plumtree.Remote.Portlet Namespace