Universal Containers (UC) uses a custom Lightning component with an Apex class to display shipment information (custom object, Private organization-wide default). UC sales managers are complaining about two important points: Shipment records that belong to their teams can be seen by other users. Shipment amount should be visible only by managers, but sales reps are able to view it.
Which feature did the development team miss that is causing the problems?
Correct Answer:
B
✑ Field-Level Security in Apex: The isAccessible() method in Apex is used to verify whether a user has the necessary permissions to view a particular field. This ensures that users see only fields they are permitted to access based on their profile or permission set.
✑ Why Option B is Correct:
✑ Why Others Are Incorrect:
For detailed reference, see Salesforce Security Documentation: https://help.salesforce.com/