|  | Aqualogic Interaction API | |
| IPTPreferencesContext.LookupPreferences Method |
This method looks up preferences on the current object. The preferences can be for a specific portlet or not. The preferences can be for all users or for just the current user.
object[][] LookupPreferences(
string[]
_astrPreferenceNames,
int
_nPortletID,
PT_PREF_TYPES _prefType);
Parameters
-
_astrPreferenceNames
- is an array of the names of preferences to look up.
-
_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.
Return Value
An array of Name-Value Pairs of the preferences.
See Also
IPTPreferencesContext Interface | com.plumtree.server Namespace