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
The KnightThe Knight 

Need to retrieve user list who has createable permission on particular object

How to retrieve a list of users who has the create permission on a particular object?

 

We can find out whether the current logged in user has permission on specific object.

<objToken>.getDescribe().isCreateable().

 

 

Please let me know how this can be achieved.

 

Thanks in Advance.

sfdcfoxsfdcfox

There is no API method or report that exposes this information. This information is controlled by the Profile, but that entity does not have any related tables that you can query to show this information. You would need to manually review the information by checking each profile in Setup > Manage Users > Profiles, and then use View Users for each profile that has the permissions you're interested in seeing.