UserPreference

Represents a functional preference for a specific user in your organization.

Supported Calls

describeSObjects(), query(), retrieve()

Special Access Rules

Customer Portal users can't access this object.

Fields

Field Details
Preference
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
The name of the user preference. Supported values are Event Reminder Default Lead Time, Task Reminder Default Time, Visualforce Viewstate Inspector, and Forecasting Displayed Type. These values are related to UserPreferencesEventRemindersCheckboxDefault and UserPreferencesTaskRemindersCheckboxDefault on the User object.
UserId
Type
reference
Properties
Filter, Group, Sort
Description
The ID of the user associated with this role. Label is User ID.
Value
Type
string
Properties
Filter, Nillable, Sort
Description
The value of the user preference. For Event Reminder Default Lead Time, the values are increasing intervals of time from 0 minutes to 2 days. For Task Reminder Default Time, the values are half-hours from 12:00 AM to 11:30 PM. To view the respective sets of values, access the Reminders in your personal settings in the online application.

Usage

Use this object to query the set of currently configured user preferences in your organization. In your client application, you can query the User object to obtain valid User IDs in order to access the UserPreference object.

All users can invoke query() or describeSObjects() with this object.

© Copyright 2000–2014 salesforce.com, inc. All rights reserved.
Various trademarks held by their respective owners.