WebCenter Interaction API  
 

IPTSessionInfo.AddPreference Method (String, Object, Int32)

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

void AddPreference(
   string strPreferenceName,
   object oPreferenceValue,
   int nPortletID
);

Parameters

strPreferenceName
is the name of the preference to add.
oPreferenceValue
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