Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IPortletRequest.GetSettingValue Method

Gives the value for any portal preference.

string GetSettingValue(
SettingType type,
string name
);

#### Parameters

type
  the type of the setting (e.g., Admin, User, or Portlet)
name
  the name of the setting

#### Return Value

the value of the setting and `null` if the setting was not sent

#### Remarks

This method replaces the `Get*Setting()` methods in the 3.5 GDK.

#### Exceptions

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

#### See Also

IPortletRequest Interface | Plumtree.Remote.Portlet Namespace