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
kasa venkat 14kasa venkat 14 

Hi all, i have two users both have same profile,i have custom object,if user1 creates a record user2 have the access to edit that record.but i dont want that user2 no need the access to edit that so can u help me on this. thanks

Hi all, i have two users both have same profile,i have custom object,if user1 creates a record user2  have the access to edit that record.but i dont want that user2 no need the access to edit that so can u help me on this. 

Thanks 
Sure@DreamSure@Dream
Hi Venkat

Try using Sharing settings. 

You can make the sharing on the object as Private. So that each user will be able to edit the records where they are the owner. 
kasa venkat 14kasa venkat 14
Hi Suresh,

i put it as private,one more thing is i created 2 permission sets user1  is admin and another is author.in the edit page that edit button have visualforce page.i got this error while update another user created rrecord,

Upsert failed. First exception on row 0 with id a5V250000004CT9EAM; first error: INSUFFICIENT_ACCESS_OR_READONLY, insufficient access rights on object id: [a5V250000004CT9]: []