Restricting Logins on Specific Days | Salesforce ADX-201 Exam FAQ

Can logins on specific days be restricted?

Prev Question Next Question

Question

Can logins on specific days be restricted?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

A.

By setting the start and end times on the profile login hours to the same value.

Yes, logins on specific days can be restricted in Salesforce. This can be achieved through the Login Hours feature, which allows admins to control when users can log in to Salesforce.

To set up Login Hours, follow these steps:

  1. Go to Setup and search for "Login Hours" in the Quick Find box.

  2. Click on "Login Hours" under the Security Controls section.

  3. Click the "New" button to create a new Login Hour record.

  4. Choose the user or profile you want to apply the Login Hour to.

  5. Select the days of the week you want to restrict logins for, and specify the start and end times for each day.

  6. Save the Login Hour record.

Once Login Hours are set up, users will be prevented from logging in to Salesforce outside of the specified hours. If a user attempts to log in during restricted hours, they will see a message informing them that they are not authorized to log in at that time.

Note that Login Hours are based on the user's time zone, so you will need to consider this when setting up Login Hours for users in different regions. Also, keep in mind that Login Hours only apply to regular Salesforce logins - users can still access Salesforce through other means, such as API calls or single sign-on (SSO).