WebCenter Interaction API  
 

IPTSessionInfo.AddPreference Method (String, Double, Int32)

This method sets a preference on the current user. The preference can be for a specific portlet or not.

void AddPreference(
   string strPreferenceName,
   double dPreferenceValue,
   int nPortletID
);

Parameters

strPreferenceName
is the name of the preference to add.
dPreferenceValue
is the value of the preference to add.
nPortletID
is the Portlet the preference is set on. Use 0 if the preference is not a portlet preference.

See Also

IPTSessionInfo Interface | com.plumtree.server Namespace | IPTSessionInfo.AddPreference Overload List