Aqualogic Interaction API  
 

IPTPreferencesContext.RemovePreference Method 

This method removes a preference on the current object. The preference can be for a specific portlet or not. The preference can be for all users or for just the current user.

void RemovePreference(
   string _strPreferenceName,
   int _nPortletID,
   PT_PREF_TYPES _prefType
);

Parameters

_strPreferenceName
is the name of the preference to remove.
_nPortletID
is the Portlet the preference is set on. Use 0 if the preference is not a portlet preference.
_prefType
is the type of the preference. Use PT_PREF_TYPE.PT_PREFTYPE_CURRENT_USER if the preference is a preference for just this user. Use PT_PREF_TYPE.PT_PREFTYPE_ALL_USERS if the preference is a preference for all users.

See Also

IPTPreferencesContext Interface | com.plumtree.server Namespace