crt-450 question 255 discussion

View all Certified Platform Developer I here
back to salesforce forum

Question 255

code below deserializes input into a list of Accounts.

Which code modification should be made to insert the Accounts so that field-level security is
respected?

  • A. 01: Public with sharing class AcctCreator
  • B. 05: If (SobjectType.Account, isCreatable())
  • C. 05: Accts = database.stripinaccesible (accts, Database. CREATEABLE);
  • D. 05: SobjectAcessDecision sd= Security,stripINaccessible(AccessType,CREATABLE,
Answer:

A


User Votes:
A 1 votes
50%
B 1 votes
50%
C 1 votes
50%
D 1 votes
50%
Discussions
0 / 1000
pradeepa
1 year, 8 months ago

with sharing is for record level but in this it is for field level it should be d

richardorifha.musetsho
4 months, 2 weeks ago

It should be d