ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 121 - Certified Sharing and Visibility Architect discussion

Report
Export

How should the Architect ensure that OBJECT-LEVEL SECURITY is enforce within a custom Visualforce application that was a standard Apex controller on the Lead object?

A.
Use the runAs() method to enforce user permissions in the Apex controller.
Answers
A.
Use the runAs() method to enforce user permissions in the Apex controller.
B.
Use the Schema.DescribeSObjectResultisAccessible() method in the Apex controller.
Answers
B.
Use the Schema.DescribeSObjectResultisAccessible() method in the Apex controller.
C.
Use the {!$ObjectType.lead.accessible} expression within the Visualforce page.
Answers
C.
Use the {!$ObjectType.lead.accessible} expression within the Visualforce page.
D.
Use the 'With Sharing' keyword when defining the Visualforce page.
Answers
D.
Use the 'With Sharing' keyword when defining the Visualforce page.
Suggested answer: C
asked 23/09/2024
Abdul Majid Pasha
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first