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

Sharing Account records like Opportunity, task, notes, events etc


I have a scenarion wherein I need to share Account records to the new owner in case the current owner leaves the company or is not longer associated with the account. All the account releated records viz. opportunity, contacts, tasks, events, etc under the account.


How do i accomplish this? I cannot make the new user as owner of the records, I need to 'share' the records with read only permission. I cannot use apex sharing since it doesnt support standard objects.


I case i thought of was of having the Account team and memebers of those team having read access to all the records owned.

Please let me know if you got any better approach.





Records owned by inactive users are not accessible to non-administrators. This is a consious design of the sharing model. You will need to transfer ownership of the record to an active user.