Whats the difference between isAccessible() vs isQueryable() methods in DescribeSObjectResult Class and which method should one use for CRUD checks in SOQL query ?


From documentation they look synonymous .


1 Answer 1

  1. You should use isAccessible() for read check.
  2. isCreateable() to check whether object record is creatable
  3. isUpdateable() to check whether a user can update record.
  4. isDeletable() to check whether a user can delete record.

For isQueryable() detail see What does object.isQueryable() actually mean?

Not the answer you're looking for? Browse other questions tagged or ask your own question.