+ Start a Discussion
mdemegliomdemeglio 

Query for Profiles with View Encrypted Data permission enabled

Is there a way to query for any profiles which have "View Encrypted Data" permission enabled? That permission doesn't show up in the schema like, for example, PermissionsModifyAllData does so I'm wondering if it's exposed in any way.

Best Answer chosen by Admin (Salesforce Developers) 
spraetzspraetz

If you org has Encrypted Fields enabled and it is not appearing in a describe of the User object there is no way to obtain that information unfortunately.

 

Thanks for the feedback, though.

All Answers

spraetzspraetz

If you org has Encrypted Fields enabled and it is not appearing in a describe of the User object there is no way to obtain that information unfortunately.

 

Thanks for the feedback, though.

This was selected as the best answer
marcobmarcob

Hi,

don't know if you still monitor this post, but you mention that PermissionsModifyAllData is included in the profile. When i try to use that field, it says that the field name is incorrect, check spelling. However, it appears to me that all the Permission-fields in the profile don't have the name the schema tells me.

Any suggestions?

Thanks in advance!

Br, Marco