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
John-Henry GrossJohn-Henry Gross 

Get permission related information for security related objects

Get permission related information for security related objects
With the combination of PermissionSetAssignment and ObjectPermissions tables we can get permission information for objects (information such as users who can read account object information). But ObjectPermissions.SObjectType not support for all objects. i.e it doesn’t support for objects such as User, Group, Partner, Profile, Task etc …
So from where can I get security related information for those objects?
Shivanath DevnarayananShivanath Devnarayanan
Have you tried using the FieldPermission Object  ? see if that helps you get the information you need
Lasith SameeraLasith Sameera
Hi,

With FieldPermission Object we can get field permissions. Could you give a example of retrieving permissions for object like Task? Actually I want to geat all the users who can see task objects.