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 Dumps Valid Version with 191 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments