Why not A: The statement "Chatter in Apex methods honor the 'with sharing' and 'without sharing' keywords" is incorrect because:
ConnectApi methods run in user context, and sharing is determined by the user's permissions and access levels.
The with sharing or without sharing keywords have no direct impact on ConnectApi calls. These keywords control sharing rules for standard Apex operations, but ConnectApi methods inherently respect the user's context.
A: Chatter in Apex (ConnectApi) methods execute in the sharing context defined by the Apex class in which they are invoked. https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_keywords_sharing.htm
D: Testing Chatter in Apex methods often need access to actual organization data, as these methods may depend on existing records to function correctly. https://ktema.org/articles/testing-chatter-apex-without-seealldata-true/
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
vancika
1 month agoBrainMelt12
1 month, 2 weeks agoAnjindal
5 months, 1 week agoDananth
2 years, 4 months agoLiquad
3 years, 2 months ago