---
schema_version: "1"
id: b1eb9222a7886d429d5602cbc32a56461226c67cc309087596f44aae8eed0f60
title: Let Users Scramble Their User Data
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/users_scramble_user_setting.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.users_scramble_user_setting.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1ff1c09aa9df06eba28844e779f567352fd5d97d05123fbd7e0b9b47f7c2011d
description: When users no longer want their personal data recognized in Salesforce, you can permanently scramble the data with the System.UserManagement.obfuscateUser Apex method. However, when you invoke the method for a user, the data becomes anonymous, and you can never recover it. As an extra precaution, you can’t use the method until you enable Scramble Specific Users’ Data for your org.
products:
  - Security
  - Salesforce Platform
release: "264"
---
# Let Users Scramble Their User Data

When users no longer want their personal data recognized in Salesforce, you can permanently scramble the data with the `System.UserManagement.obfuscateUser` Apex method. However, when you invoke the method for a user, the data becomes anonymous, and you can never recover it. As an extra precaution, you can’t use the method until you enable **Scramble Specific Users’ Data** for your org.

### 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>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="d59308e78">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d59308e78 ">To enable the Scramble Specific Users’ Data setting:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d59308e78 ">Customize Application</td>

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

1. From Setup, enter User in the Quick Find box, then select **User Management Settings**.
2. Enable **Scramble Specific Users’ Data**.
3. Invoke the `obfuscateUser` method one of several ways. For example, you can use custom Apex triggers, processes, workflows, or the Developer Console.
    
    ![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 Invoking `obfuscateUser` method doesn’t trigger an email change notification.

This feature is part of our effort to protect users’ personal data and privacy. For more information on what you can do to actively protect user data, see Data Protection and Privacy.

For more information about `obfuscateUser`, see the UserManagement Class in the Apex Reference Guide.