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
ntnngntnng 

Check for CRUD permission for an object

Hi,

 

According to a requirement, i have to change the owner of account if the user does not have read access to a third object.

We need the functionality similar to the isAccessible method of Describe Field Result but it is only available for the current logged in user.

Is there any other way to check the CRUD permissions to an object for a user in Apex code?