function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Determining Field Level Security Through API


is it possible to use the API to determine which fields are visible to a specified Profile and which of these are read-only?

I thought this information might be accessible from the Profile object, but as far as I can tell it isn't.

Thanks in advance


describeSObject includes the results of applying FLS from your profile. You cannot get this info for another profile.
Thanks Simon
Is there any way to migrate changes to a field's field level security from a sandbox to production through Eclipse or Change Sets, or do these changes need to be made manually in production?
Same question far we've had to make the updates manually.

I also have this question. 


With the new Change Set feature of migrating profiles with your metadata changes, the field-level security should carry over with the field and profile combo.  I haven't tried it yet though. 


Should be the same in Eclipse.  You have to push fields and profiles together to get the field-level security settings.