Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IPortletRequest.GetUserInterface Method

Returns a `UserInterface` object to tell the client what type of device is being used to browse the portal (e.g., phone, PDA, standard Web browser).

UserInterface GetUserInterface();

#### Return Value

UserInterface

#### Exceptions

Exception Type | Condition
--- | ---
NotGatewayedException | if the request is not gatewayed
ProtocolNotSupportedException | if the portal does not support the device type

#### See Also

IPortletRequest Interface | Plumtree.Remote.Portlet Namespace