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
Karna_ShivaKarna_Shiva 

how to create record without object access in salesforce apex class

how to create record without object access in salesforce apex class

User don't have any access to object, but he want to create record thourh VF page, how can i do this?
James LoghryJames Loghry
You can get around this by using the "without sharing" keyword in Apex.  However, I'd strongly suggest you either fix the user's profile settings or find another way to adhere to Salesforce's security practices instead.