Login Hours
You can specify the hours when users can log in based on the user profile.
How?
- From Setup, enter Profiles in the Quick Find box. Select Profiles, and then select a profile.
- In the Login Hours related list, click Edit.
- Set the days and hours when users with this profile can log in to the org.
To let users log in at any time, click Clear all times. To prohibit users from logging in on a specific day, set Start Time to 12 AM and End Time to End of Day.
If users are logged in when their login hours end, they can continue to view their current page, but they can’t take any further action.
- Click Save.