Get Field Level Security (Audit)
sf_get_field_permissionsRetrieve field-level security grants across profiles and permission sets to audit who can see or edit a field. Use to verify current access before making changes.
Instructions
Reads the current field-level security grants for a field across all Profiles and Permission Sets that reference it, via the FieldPermissions query object. Use to audit who can currently see or edit a field before changing access, or to answer "which profiles can edit this field?". Complements sf_create_field_level_security, which sets grants but doesn't report the current state.
objectName: object API name, e.g. 'Account' fieldName: field API name, e.g. 'Revenue__c'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fieldName | Yes | Field API name, e.g. 'Revenue__c' (without the object prefix) | |
| objectName | Yes | Object API name, e.g. 'Account' |