---
schema_version: "1"
id: d7384911920609dbbeb580916fce873e81e6b665b5e56766ec239b20baebef7e
title: Data Classification Metadata Fields
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/data_classification_metadata_fields.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.data_classification_metadata_fields.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f423735de05427254eb62a17e78d4d981cef0783854f1e074ee227caba80be09
description: Record the data owner, field usage, data sensitivity, and compliance categorization for any standard or custom object field. You can also access data classification metadata in the Salesforce API and Apex.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Data Classification Metadata Fields

Record the data owner, field usage, data sensitivity, and compliance categorization for any standard or custom object field. You can also access data classification metadata in the Salesforce API and Apex.

### 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: Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>All</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="d84137e61">User Permissions Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d84137e61 ">To edit data classification fields:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d84137e61 ">Customize Application or Modify Data Classification</td>

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

You can use the data classification metadata fields on most standard and custom objects. Before you begin, review these limitations.

- Compliance categorizations don't appear on fields suffixed with \_\_pc when you query the Person Account object. While \_\_pc fields appear in Person Account queries, they reside on the Contact object. To see their compliance categorization, query the Contact object instead. The same limitation applies whether you're using Tooling API (FieldDefinition) or Metadata API (CustomField). Learn more about [Person Accounts](https://help.salesforce.com/s/articleView?id=sales.account_person.htm&language=en_US) and their relationship to Contacts.
- If you're working in Object Manager, these metadata fields aren't available for the User object: Data Owner, Data Sensitivity Level, and Field Usage. To apply them to the User object, use the [CustomField Metadata API](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/customfield.htm) or the Data Classification Upload tool.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d84137e112">Field</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d84137e115">Description</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d84137e112 ">Compliance Categorization</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d84137e115 ">
            <p>The compliance acts, definitions, or regulations that are related to the field’s data.
              Default values:</p>
            <ul>
              <li>CCPA—California Consumer Privacy Act</li>
              <li>COPPA—Children's Online Privacy Protection Act</li>
              <li>GDPR—General Data Protection Regulation </li>
              <li>HIPAA—Health Insurance Portability and Accountability Act</li>
              <li>PCI—Payment Card Industry</li>
              <li>PersonalInfo—Personal information. For use with the Enhanced Personal Information
                Management feature. Only available if Enhanced Personal Information Management and Digital
                Experiences are enabled.</li>
              <li>PII—Personally Identifiable Information</li>
            </ul>
            <p style="margin-bottom:0;">The field corresponds to the <samp class="parmname">ComplianceGroup</samp> field on the <a href="https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_fielddefinition.htm" target="_blank">FieldDefinition</a> Tooling
              API.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d84137e112 ">Data Owner</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d84137e115 ">
            <p>The person or group associated with this field. The data owner understands the
              importance of the field’s data to your company and might be responsible for determining the
              minimum data sensitivity level.</p>
            <p style="margin-bottom:0;">The field corresponds to the
              <samp class="parmname">BusinessOwnerId</samp> field on the <a href="https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_fielddefinition.htm" target="_blank">FieldDefinition</a> Tooling
              API.
            </p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d84137e112 ">Data Sensitivity Level</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d84137e115 ">
            <p>The sensitivity of the data contained in this field. Default values:</p>
            <ul>
              <li>Public—Available to the public to view but not alter.</li>
              <li>Internal—Available to company employees and contractors. This data must not be
                shared publicly, but it can be shared with customers, partners, and others under a
                non-disclosure agreement (NDA).</li>
              <li>Confidential—Available to an approved group of employees and contractors. This
                data isn’t restricted by law, regulation, or a company master service agreement (MSA). It
                can be shared with customers, partners, and others under an NDA.</li>
              <li>Restricted—Available only to an approved group of employees and contractors. This
                data is likely restricted by law, regulation, an NDA, or a company MSA.</li>
              <li>MissionCritical—Available only to a small group of approved employees and
                contractors. Third parties who are given access could be subject to heightened contractual
                requirements. This data is almost always restricted by law, regulation, an NDA, or a
                company MSA.</li>
            </ul>
            <p style="margin-bottom:0;">The field corresponds to the <samp class="parmname">SecurityClassification</samp> field on the
              <a href="https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_fielddefinition.htm" target="_blank">FieldDefinition</a> Tooling API and
              the
              <a href="https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_fieldsecurityclassification.htm" target="_blank">FieldSecurityClassification</a> SOAP
              API.
            </p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d84137e112 ">Field Usage</td>

          <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d84137e115 ">
            <p>Tracks whether the field is in use. Default values:</p>
            <ul>
              <li>Active—In use and visible.</li>
              <li>DeprecateCandidate—Planned for deprecation and no longer in use.</li>
              <li>Hidden—Not visible and possibly planned for deprecation. Use with caution.</li>
            </ul>
            <p>Changing the value of Field Usage doesn’t hide or expose the field.</p>
            <p style="margin-bottom:0;">The field
              corresponds to the <samp class="parmname">BusinessStatus</samp> field on the <a href="https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_fielddefinition.htm" target="_blank">FieldDefinition</a> Tooling
              API.</p>
          </td>

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

You can customize the values for the Compliance Categorization, Data Sensitivity Level, and Field Usage fields.

- To edit the Compliance Categorization values, select **Edit Compliance Categorization Picklist Values** on the Data Classification Settings Setup page or update the ComplianceGroup picklist using the [StandardValueSet](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_standardvalueset.htm) Metadata API type.
- To edit the Data Sensitivity Level values, select **Edit Data Sensitivity Picklist Values** on the Data Classification Settings Setup page or update the SecurityClassification picklist using the [StandardValueSet](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_standardvalueset.htm) Metadata API type.
- To edit the Field Usage values, update the FieldBusinessStatus picklist using the [StandardValueSet](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_standardvalueset.htm) Metadata API type.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_note.png)

Note You can also access data classification metadata by querying your Salesforce data. For example, this sample query retrieves values for all data classification metadata fields in account and lead records.

```
SELECT Id, DeveloperName, Description, BusinessOwnerId, BusinessStatus, SecurityClassification 
FROM FieldDefinition 
WHERE EntityDefinitionId in ('Account','Lead')
```