Universal Containers implemented a private sharing model for the Account object. A custom Account search tool was developed with Apex to help sales representatives find accounts that match multiple criteria they specify. Since its release, users of the tool report they can see Accounts they do not own. What should the developer use to enforce sharing permissions for the currently logged-in user while using the custom search tool? A. Use the schema describe calls to determine if the logged-in user has access to the Account object. B. Use the UserInfo Apex class to filter all SOQL queries to returned records owned by the logged-in user. C. Use the with sharing keyword on the class declaration. D. Use the without sharing keyword on the class declaration. Â Suggested Answer: C Community Answer: C This question is in CRT-450 Salesforce Certified Platform Developer I Exam For getting Salesforce Certified Platform Developer I Disclaimers: The website is not related to, affiliated with, endorsed or authorized by Salesforce. Trademarks, certification & product names are used for reference only and belong to Salesforce. The website does not contain actual questions and answers from Salesforce's Certification Exams.
Please login or Register to submit your answer