Salesforce ADX-201 Exam: User Login Hours and Restrictions

User Login Hours and Profile Settings

Prev Question Next Question

Question

A user successfully login's at 3:00 PM, What happens at 3:31 PM, if the Login hours for the user's Profile are set from 7:30 AM to 3:30 PM?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D.

The correct answer is A. User is automatically Logged Out.

When a user successfully logs in, a session is created for the user. Salesforce sessions have a default timeout of 120 minutes, which means that if a user does not interact with Salesforce for 2 hours, their session will expire, and they will be logged out. However, if the Login hours for the user's Profile are set from 7:30 AM to 3:30 PM, the user will be logged out at the end of the profile's defined login hours, regardless of whether or not they are still actively working in Salesforce.

In this scenario, the user successfully logged in at 3:00 PM, and the Login hours for the user's Profile are set from 7:30 AM to 3:30 PM. Therefore, at 3:31 PM (i.e., one minute after the defined login hours for the user's profile), the user's session will expire, and they will be automatically logged out of Salesforce.

Option B, "User keeps working continuously without any issues," is incorrect because the user's session will expire at the end of the profile's defined login hours, and they will be automatically logged out.

Option C, "User is asked in a Popup window if he would like to extend his session," is incorrect because session extension is not triggered in this scenario. Session extension occurs when the user is still actively working in Salesforce, and their session is about to expire due to inactivity.

Option D, "User is logged out once he tries to do any DML (Data Manipulation) Operation i.e. Save, Edit, etc." is incorrect because the user's session will expire at the end of the profile's defined login hours, not when they perform a specific action such as a DML operation.