AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IPortletRequest.GetReturnURI Method

Returns the URI for the portal page to return to when done.

Uri GetReturnURI();

#### Return Value

The URI for the portal page, or null if the portlet is run as a job.

#### Remarks

This URI is typically used when a portlet's Preferences page is finished processing; the portlet should always return the user to the portal page. Note: You can also use `IPortletResponse.ReturnToPortal` to return the user to the portal page.

#### Exceptions

Exception Type | Condition
--- | ---
NotGatewayedException | The request is not gatewayed.

#### See Also

IPortletRequest Interface | Plumtree.Remote.Portlet Namespace