AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IPortletBase.AddAdminSetting Method

Adds an Administrative setting for this Portlet.

void AddAdminSetting(
string name,
string value
);

#### Parameters

name
  The name of the new setting to add.
value
  The value of the setting to add.

#### Remarks

Administrative settings are shared by all users and all Communities. If there is already an Admininstrative setting of the same name, this method will overwrite it. Note: This setting will not be saved in the portal until `Save()` is called.

#### Exceptions

Exception Type | Condition
--- | ---
ArgumentException | The setting has an invalid (blank) name.
HttpException | The query interface URL is not valid.
PortalException | The operation resulted in an error in the portal.
SoapException | There was a communication problem during the execution of the remote method call.

#### See Also

IPortletBase Interface | Plumtree.Remote.PRC Namespace