You need to sign in to do that
Don't have an account?
Query result based on Profile
My requirement is to get all the fields in an object having read access for a particular profile.
Can anybody help me with the Query.
Can anybody help me with the Query.
Try the query below
- https://developer.salesforce.com/blogs/engineering/2012/06/using-soql-to-determine-your-users-permissions-2.html
- https://salesforce.stackexchange.com/questions/71418/soql-statement-to-query-field-level-security-on-particular-profiles
- https://salesforce.stackexchange.com/questions/153986/query-which-profiles-have-read-access-to-specific-object
Chane your SobjectType, Profile Name as per your requirement.Hope this helps ! Mark as solved if it did.
Thanks,
Sarvani