13

I am looking to write some custom functionality for creating a User.

The problem I am facing is that some of the standard User fields don't appear to be available through the API. I found this Idea about the Accessibility Mode field that appears on the standard UI. According to that idea, Salesforce Support discovered that it's not actually a field at all but a, "User Interface feature that is not stored on the User object, but is merely referenced."

My question is, does anyone know of a list of User fields that are in this same state? I can't seem to find access to a few of the fields available during standard User creation:

  • Force.com Quick Access Menu
  • Color-Blind Palette on Charts
  • Allow Forecasting
  • etc...
8

3 Answers 3

11
+100

I tried to relate API Name with UI label and here is what I found.

Missing field in API but Available on UI

Accessibility Mode  
NewsAllow Forecasting  
Color-Blind Palette on Charts  
End of day  
Force.com Flow User  
Force.com Quick Access Menu =  
Make Setup My Default Landing Page  
Mobile Configuration  
Mobile Push Registrations   
Receive Approval Request Emails  
Receive Salesforce CRM Content Alerts as Daily Digest  
Receive Salesforce CRM Content Email Alerts  
Salesforce Classic User  
Salesforce1 User  
Send Apex Warning Emails  
Service Cloud User  
Show View State in Development Mode  
Start of day  
Time-Based Token  
Used Data Space  
Used File Space  
User License  

Here are field already mapped.

UI Column   =   API Name  
Alias   =   Alias  
Call Center =   CallCenterId  
Address =   City , Street, State, Country,PostalCode   
Nickname    =   CommunityNickname  
Company =   CompanyName  
Created By  =   CreatedById  
Delegated Approver  =   DelegatedApproverId  
Department  =   Department  
Division    =   Division  
Email   =   Email  
Email Encoding  =   EmailEncodingKey  
Employee Number =   EmployeeNumber  
Extension   =   Extension  
Fax =   Fax  
Federation ID   =   FederationIdentifier  
Active  =   IsActive  
Language    =   LanguageLocaleKey  
Last Login  =   LastLoginDate  
Last Password Change or Reset   =   LastPasswordChangeDate  
Locale  =   LocaleSidKey  
Manager =   ManagerId  
Mobile  =   MobilePhone  
Name    =   Name  
Phone   =   Phone  
Profile =   ProfileId  
Admin Newsletter    =   ReceivesAdminInfoEmails  
Time Zone   =   TimeZoneSidKey  
Title   =   Title   
Username    =   Username   
Knowledge User  =   UserPermissionsKnowledgeUser  
Marketing User  =   UserPermissionsMarketingUser  
Offline User    =   UserPermissionsOfflineUser   
Salesforce CRM Content User =   UserPermissionsSFContentUser   
Site.com Contributor User   =   UserPermissionsSiteforceContributorUser   
Site.com Publisher User =   UserPermissionsSiteforcePublisherUser   
Work.com User   =   UserPermissionsWorkDotComUserFeature   
Development Mode    =   UserPreferencesApexPagesDeveloperMode  
Role    =   UserRoleId
Allow Forecasting  =  ForecastEnabled **  
Newsletter  =  ReceivesInfoEmails **

PS: This fields are mapped as per my understanding. Please feel free to correct me.

** Revised by @crmprogdev on 03/19/15

4
  • This is exactly what I was looking for! If anyone notices something wrong, feel free to update the answer but this was perfect. Thanks! Mar 17, 2015 at 15:26
  • 1
    Have edited and revised the last two entries. Verified in my DevOrg.
    – crmprogdev
    Mar 19, 2015 at 19:28
  • @AtulRajguru9 I am not able to get the User details fields also.. i am getting only one field. Cna u please give me some link to get fields of User object.
    – Roster
    Jun 11, 2018 at 6:29
  • Not sure what do you mean by "not able to get the User details fields also" how are you fetching User details ? Jun 11, 2018 at 10:20
0

there are other mapped fields like:

Saleforce1 user=UserPreferencesHideS1BrowserUI
0

Here are some additional field mappings:

Salesforce Classic User - UserPermissionsMobileUser
Service Cloud User - UserPermissionsSupportUser
live agent user - UserPermissionsLiveAgentUser

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .