Which method should a developer use to ensure only users that should be able to delete Accounts can successfully perform deletions?
A developer must write an Apex method that will be called from a Lightning component. The method may delete an Account stored in the accountRec variable.
Which method should a developer use to ensure only users that should be able to delete Accounts can successfully perform deletions?
A . Schema.sObjectType.Account.isDeletable()
B . Account.isDeletable()
C . accountRec.isDeletable()
D . accountRec.sObjectType.isDeletable()
Answer: A
Latest PDI Practice Questions with 191 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments