Hide personal data

The ability to obfuscate user data is a requirement in some jurisdictions and may be requested by specific users in others. You can enable an option to allow data obfuscation for specific users - obfuscation must then be invoked for the users. When invoked, data for those users is anonymized permanently and cannot be repersonalized.

To enable obfuscation:

  1. Go to Setup > Users > User Management Settings.

  2. Scroll down to find the Scramble Specific Users Data toggle.

  3. Set the toggle to Enabled.

  4. Exit the page - your changes are automatically applied.

When enabled, the Apex method obfuscateUser is made available and can be invoked.