Salesforce Certified Platform Developer II (Plat-Dev-301) Exam - Topic 9 Question 7 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?
C) Use System.runAs() to test as a sales rep and a community user.
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.
D) Use System.runAs() to test as an administrator and a community user.
Winfred
7 months agoSheldon
7 months agoAvery
7 months agoLashandra
8 months agoIlene
8 months agoShonda
8 months agoMarylin
8 months agoNakita
8 months agoKrystal
8 months agoCassie
8 months agoEmeline
8 months agoHeike
8 months ago