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
Saoni PaitandiSaoni Paitandi 

Suppose there are 2 Users U1 and U2 having same profile and there is a field in Account let's say f1 .F1 should be visibible to U1 but not U2.How can I acheive it.Please guide me!!

Suppose there are 2 Users U1 and U2  having same profile and there is a field in Account let's say f1 .F1 should be visibible to U1 but not U2.How can I acheive it.Please guide me!!
NagendraNagendra (Salesforce Developers) 
Hi Saoni,

You can do the below if you do not want to create 2 different profiles, hide all the field F1 for the existing profile through field level security.

Create 2 Permission sets
  • Permission Set 1: Make the field visible
  • Permission Set 2: Make the field hidden
  • Assign Permission Set1 to user 1
  • Assign Permission set2 to user 2
Hope this will help you with the above issue.

Kindly mark this as solved if my reply was helpful so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.

Regards,
Nagendra