Study for the Salesforce Platform Developer Exam. Study with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Practice this question and more.


Which of the following permissions can a user be granted through profiles?

  1. Login hours

  2. Record types

  3. Apex class access

  4. All of the above

The correct answer is: All of the above

A profile in Salesforce is critical for defining user access and permissions within the system. It governs what a user can do and see across the Salesforce platform. Login hours are controlled by profiles to ensure that users can only log in during specified times. This is essential for maintaining security and operational control, especially in organizations where access needs to be restricted outside of working hours. Record types are another vital component managed by profiles. They define the business processes and picklist values available for different types of records within an object. By assigning specific record types to profiles, you can control user interaction with various workflows or data categories, enhancing customization and functionality within applications. Apex class access is also granted through profiles, allowing or prohibiting users from executing specific Apex classes. This control is crucial for maintaining security and ensuring that only authorized users have access to custom code that could manipulate data or interact with the database. Thus, since profiles manage login hours, record types, and Apex class access collectively, it is accurate to state that all these permissions can indeed be granted through profiles, validating the reasoning for selecting the option that encompasses all of these features.