How should the Show...
 
Notifications
Clear all

How should the Show_Help_c preference be retrieved for the current user?

1 Posts
1 Users
0 Likes
33 Views
Jacques
(@hepnerjacques)
Noble Member
Joined: 7 months ago
Posts: 363
Topic starter  

Universal Containers stores user preferences in a Hierarchy Custom Setting, User_prefs_c, with a Checkbox field, show_Help_c, Company-Level defaults are stored at the organizational level, but may be overridden at the user level, If a user has not overridden preferences, then the defaults should be used.

How should the Show_Help_c preference be retrieved for the current user?

  • A . Boolean show = User_Prefs_c, getinstance( ), Show_Help _c;
  • B . Boolean show = User_Prefs_c, getValues ( ). Show _Help_c;
  • C . Boolean show = User_Prefs_c, getvaluesUserInfo.getUserid() ).Show_Help_c;
  • D . Boolean show = User prefs_c, Show_Help_c;

Show Answer Hide Answer

Suggested Answer: C

   
Quote
Share: