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
Vaishali TrailblazeVaishali Trailblaze 

Details of User Access

Hi,

I need to create a kind of report that gives visibility on user access.
Say, what user has what kind of access on what objects and other general permissions.

USERS           ACCOUNT            CONTACT
USER 1          CRUD                   CRUD 
USER 2          CR                       R 

I've already checked this (https://github.com/forcedotcom/user-access-visualization)
Any help appreciated.

Regards,
Vaishali
Tejas KardileTejas Kardile
Hi Vaishali,

Use the object permission object for this report.

See below SOQL:
select id,ParentId,PermissionsCreate,PermissionsDelete,PermissionsEdit,SobjectType  from ObjectPermissions

if this solve your issue then mark this answer as best answer.

Thanks
 
Tejas KardileTejas Kardile
Hi Vaishali,

Go through below objects, i believe you will able to achive you output.
ObjectPermissions
PermissionSet
PermissionSetAssignment

Thanks