AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IPortletRequest.GetUserInterface Method

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

UserInterface GetUserInterface();

#### Return Value

A `UserInterface` object.

#### Exceptions

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

#### See Also

IPortletRequest Interface | Plumtree.Remote.Portlet Namespace