Hai, I am a beginner in salesforce. I want to retrieve all profiles field level security information and It refers to the objects present only in the profile's field level security section. Is it possible through apex coding ??
SELECT Id, SObjectType, PermissionsRead, PermissionsCreate
FROM ObjectPermissions
WHERE parentid in (select id from permissionset where
PermissionSet.Profile.Name = 'System Administrator')
It's not possible, but you can retrive profile inforamation like profileid, name etc.
Best Regards,
Mithun.
You can do something like this
Best Regards,
Mithun.