QuestionQ59
Programmatic SharingUniversal Containers has a custom Visualforce application that uses a custom Apex controller.
Within this Visualforce application, what should the Architect do to make sure object-level security is enforced?
- A Use the “Without Sharing” keyword when defining the Apex controller class
- B Utilize the “With Sharing” keyword when defining the Apex controller class
- C Use the Schema.DescribeSObjectResult isAccessible() method in the Apex controller
- D Utilize the “With Sharing” keyword when defining the Visualforce page
Community Discussion