New answers tagged

2

Try Read. From Metadata API Developer Guide https://developer.salesforce.com/docs/atlas.en-us.232.0.api_meta.meta/api_meta/customobject.htm https://developer.salesforce.com/docs/atlas.en-us.232.0.api_meta.meta/api_meta/meta_field_types.htm#meta_type_SharingModel ...valid values are: Private Read ReadWrite ReadWriteTransfer FullAccess ControlledByParent ...


0

Since they are owner based, they don't have to be evalated during the sequence. Criteria based however, are evaluated since the criteria need to be revisited for evaluating the sharing. PS: I think by now you would have got the answer, but still for others posting this.


3

As stated in the documentation of UserRecordAccess, you can have only a single Id when filtering by UserId. This prevents checking in one SOQL query record access for multiple users. You need to work with CustomObject__Share records. Let's say, that you need to check, that record of CustomObject__c is readable for users. Check if it is not Public Read/Write ...


Top 50 recent answers are included