If I enable Salesforce shield platform encryption and start encrypting standard and/or custom fields like Contact.LastName or Contact.Marital_Status__c for example.
What will happen if I do a global search?
- When I have "View Encrypted Fields" permission
- When I DON'T have "View Encrypted Fields" permission
Since Shield encrypts data at rest, will it include that data in the search results?
Assume that I have FLS and data access to the field and record.
Best Answer
There is a little information available about this topic as this is a paid feature and some of its part is in pilot.
As per the implementation guide search index files are not encrypted. It means user may get the records based on search term However, field will be masked for users not having "View Encrypted" Permission.
Without Encryption:
Note that field like Name, LastName, First have their own behavior when encrypted using Shield encryption.