Salesforce Platform Developer I (legacy) — Question 112
Using DescribeSObjectResult, which Apex method can a developer use to determine if the current user can edit records for an object?
Answer options
- A. canUpdate()
- B. canEdit()
- C. isUpdateable()
- D. isEditable()
Correct answer: C
Explanation
The correct answer is C, isUpdateable(), which specifically checks the edit permissions for the current user on the object. The other options, while related to permissions, do not accurately reflect the method used for determining update capabilities directly from DescribeSObjectResult.