Plumtree EDK (Enterprise Web Development Kit) 5.4.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 | if the request is not gatewayed

#### See Also

IPortletRequest Interface | Plumtree.Remote.Portlet Namespace