Newer Version Available

This content describes an older version of this product. View Latest

View and Edit Login Hours in the Enhanced Profile User Interface

For each profile, you can specify the hours when users can log in.
Available in: Salesforce Classic (not available in all orgs) and Lightning Experience
Available in: Professional, Enterprise, Performance, Unlimited, Developer, and Database.com Editions
Custom Profiles available in: Professional, Enterprise, Performance, Unlimited, and Developer Editions

User Permissions Needed
To view login hour settings: View Setup and Configuration
To edit login hour settings: Manage Profiles and Permission Sets
  1. From Setup, enter Profiles in the Quick Find box, then select Profiles.
  2. Select a profile and click its name.
  3. In the profile overview page, scroll down to Login Hours and click Edit.
  4. Set the days and hours when users with this profile can log in to the organization.

    To allow users to log in at any time, click Clear all times. To prohibit users from using the system on a specific day, set the start and end times to the same value.

    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.

The first time login hours are set for a profile, the hours are based on the organization’s Default Time Zone as specified on the Company Information page in Setup. After that, any changes to the organization’s Default Time Zone won’t change the time zone for the profile’s login hours. As a result, the login hours are always applied at those exact times even if a user is in a different time zone or if the organization’s default time zone is changed.

Depending on whether you’re viewing or editing login hours, the hours may appear differently. On the Login Hours edit page, hours are shown in your specified time zone. On the profile overview page, they appear in the organization’s original default time zone.

Note