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
Navya BalusuNavya Balusu 

User 1 and User 2 with same Profile P1,Both have access to Amount on Account.To restrict access to Amount field for User 2

User 1 and User 2 with same Profile P1,Both have access to Amount on Account.To restrict access to Amount field for User 2
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Navya,

You cannot restrict the access to teh field once it is given at profile level. So better solution would be give minimum access with profile and add the extra access using permission set and assign that to the user1.

If this solution helps, Please mark it as best answer.

Thanks
 
Nitin ShyamnaniNitin Shyamnani

Hi Navya,

If you only want to revoke Edit Access of Amount field from user 2 then you can create a validation rule where you can specify that IF User = User 2, then throw error.

But if you want to remove read access too then you need to remove Amount field access from Profile level and then you can provide access of that field using permission set to User 1.