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

DescribeSObject to determine access.



What is the best way of using DescribeSObjectResult to determine if a  user has access to a custom object ?

Is it that the DescribeSObject call will fail or will I get some kind of  DescribeSObjectResult which I have to play around with to determine if the user has access?