List of questions
Related questions
Question 274 - Certified Platform Developer II discussion
Universal Containers allows customers to log into a Salesforce Community and update their orders via a custom Visualforce page. Universal Containers' sales representatives can edit the orders on the same Visualforce page.
What should a developer use in an Apex test class to test that record sharing is enforced on the Visualforce page?
A.
Use System.profllels() to test as an administrator and a community user,
B.
Use System.profilels() to test as a sales rep and a community user.
C.
Use System.runAs() to test as a sales rep and a community user.
D.
Use System.runAs() to test as an administrator and a community user.
Your answer:
0 comments
Sorted by
Leave a comment first