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
venkat bojjavenkat bojja 

How to Restrict the Record Access based on RecordType and Account Team Member

Hi Team,
I have a requirement...
On Account object we have few record types, if the record type name is prospect or customer we can treat the record as "Product Account". 
I want to restrict the access for product Account record on below scenarios.
  1. The Record owner and Account Team Members can view and edit the Product Account.
  2. Users that do not own the Product Account and are not listed as Account Team Members can view, but CANNOT edit the Product Account
  3. Admins can view/edit all Product Accounts.

Thanks for your help….

Regards,
Venkat B.
 
Best Answer chosen by venkat bojja
AnudeepAnudeep (Salesforce Developers)