Aqualogic Interaction API  
 

IPTSessionInfo.AssignPreferences Method 

This method sets multiple preferences on the current user. It can also delete the old preferences before adding the new preferences. The preferences can be for a specific portlet or not.

void AssignPreferences(
   object[][] aoPreferenceNameValuePairs,
   bool bDeleteOldPreferences,
   int nPortletID
);

Parameters

aoPreferenceNameValuePairs
is an array of Name-Value Pairs of the preferences.
bDeleteOldPreferences
flags whether the old preferences should be deleted or not. Use true to delete to delete the old preferences, or false to keep them.
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