---
schema_version: "1"
id: 22ea69a3d2c42519c1656805b9388d2e3e6c3041e9e8779e9e199f0a92748435
title: Require Permission to View Record Names in Lookup Fields
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/security_sharing_require_permission_lookup.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.security_sharing_require_permission_lookup.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: bbb7b0125d7d848611f8511d4dbf1a70794b0b0a1731f9f58584954b36b2f061
description: To better protect your Salesforce org’s data, you can restrict who can view record names in lookup fields and system fields, such as Created By and Last Modified By. If you enable the Require permission to view record names in lookup fields setting, users must have Read access to these records or the View All Lookup Record Names permission to view this data.
products:
  - Security
  - Salesforce Platform
release: "264"
---
# Require Permission to View Record Names in Lookup Fields

To better protect your Salesforce org’s data, you can restrict who can view record names in lookup fields and system fields, such as Created By and Last Modified By. If you enable the Require permission to view record names in lookup fields setting, users must have Read access to these records or the View All Lookup Record Names permission to view this data.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d13344e75">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d13344e75 ">To modify sharing settings:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d13344e75 ">Manage Sharing</td>

          </tr>
        </tbody>
      </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-access-264-0-0-production-enus/a92be132-3cbc-412a-9262-130636120c14/images/icon_note.png)

Note The View All Lookup Record Names permission only applies to lookup record names in list views and record detail pages. Lookup record names are visible in history tracking related lists. To prevent users from viewing record names in history tracking related lists, disable field history tracking.

1. From Setup, in the Quick Find box, enter Sharing Settings, and then select **Sharing Settings**.
2. Click **Edit** in the Organization-Wide Defaults area.
3. Select **Require permission to view record names in lookup fields**.
4. Enable the View All Lookup Record Names permission in custom profiles or permission sets for users who must see record names in all lookup and system fields, regardless of sharing settings.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-access-264-0-0-production-enus/a92be132-3cbc-412a-9262-130636120c14/images/icon_example.png)

Example

After the Require permission to view record names in lookup fields setting is enabled, in Lightning Experience, users who don’t have Read access or the View All Lookup Record Names permission see the lookup field labels, but not the data in the fields.

![Account record detail page in Lightning Experience after setting is enabled, with only lookup field labels.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-access-264-0-0-production-enus/a92be132-3cbc-412a-9262-130636120c14/access/images/require_view_record_names_enabled.png)

In Salesforce Classic, users who don’t have Read access or the View All Lookup Record Names permission see an underscore in system user lookup fields. They also see the record ID in custom user lookup and non-user lookup fields.

![Account record detail page in Salesforce Classic after setting is enabled, with only lookup field labels.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-access-264-0-0-production-enus/a92be132-3cbc-412a-9262-130636120c14/access/images/require_view_record_names_enforced_classic.png)

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-access-264-0-0-production-enus/a92be132-3cbc-412a-9262-130636120c14/images/icon_note.png)

Note In Lightning Experience, a parent record's name is visible in lookup fields if the user has access to its child record via a "View All Records" permission. This behavior applies even if the user doesn't have access to the parent record. In Salesforce Classic, the parent record's ID is displayed instead of its name.

#### See Also

- [“View All” and “Modify All” Permissions Overview](https://help.salesforce.com/s/articleView?id=platform.users_profiles_view_all_mod_all.htm&release=264.0.0&type=5 "The “View All” and “Modify All” permissions ignore sharing rules and settings, allowing administrators to grant access to records associated with a given object across the organization. “View All Records” and “Modify All Records” can be better alternatives to the “View All Data” and “Modify All Data” permissions.")
- [Require Permission to View Record Names in Lookup Fields](https://help.salesforce.com/s/articleView?id=platform.security_sharing_require_permission_lookup.htm&type=5&language=en_US)