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
Ian Lin 439Ian Lin 439 

how to show records to a certain profile on certain condition in salesforce

VinayVinay (Salesforce Developers) 
HI Ian,

You can use sharing settings.  Check below reference that can give more details.

https://trailhead.salesforce.com/content/learn/modules/data_security/data_security_records

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,