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

Differentiate Records which are Shared using apex and manual sharing from AccountShare Object

Hi All,

We are sharing account using sharing rules , manual sharing (record owner shares record) and apex sharing.

Is there any way to differentiate a record which is shared by manual sharing and apex sharing? 

In AccountShare object RowCause field for apex shared record also hold value as 'Manual' as default value.

Please help.








You can not set any other value in RowCause for Apex sharing, by default it is set to Manual.

Thanks Narendra.

For Custom Object, its possible to create apex sharing reason and can be used  as rowcause while doing apex sharing. But look like its not supported for standard object or may be I misunderstood on this. Anyway thanks for your help.


Yes it is not supported in standard object