UserPreference
Represents a functional preference for a specific user in your organization.
Introduced in API version 9.0.
create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()
-
Customer Portal users can’t access this object.
-
Only users with the View All Data or Manage Users permission can access UserPreference records of other users but all users can access their own UserPreference record.
This behavior does not affect other types of user access such as Create or Edit.
- Type: picklist
- Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
- Description: The name of the user preference. Supported values are:
- Possible values:
- 57 — 57
- 58 — 58
- 91 — 91
- 92 — 92
- 93 — 93
- 94 — 94
- 96 — 96
- 97 — 97
- 98 — 98
- 99 — 99
- 100 — 100
- 101 — 101
- 102 — 102
- 108 — 108
- 109 — 109
- 111 — 111
- 112 — 112
- 113 — 113
- 114 — 114
- 118 — 118
- 119 — 119
- 120 — 120
- 122 — 122
- 131 — 131
- 136 — 136
-
Type: reference
-
Properties: Create, Filter, Group, Sort, Update
-
Description:
The ID of the user associated with this role. The corresponding field label is User ID.
Admin users can create and edit preferences for other users.
Standard users can delete their own preferences only. For a standard user, the value of the
UserIdfield must be their own UserId. -
Relationship name: User
-
Relationship type: relationship
-
Refers to: User
- Type: textarea
- Properties: Create, Filter, Nillable, Sort, Update
- 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. ForTask 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.
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 to access the UserPreference object.
All users can invoke the supported calls with this object. Standard users can invoke these calls, but only on their own preferences.