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

How we can hide the custom button on opportunity view for particular user?

hi every one


i have one custom button on opportunity layout .i need to hide them from particular user.i have that user id.


how can i achieve this.





You should be able to use this as the starting point:


Thanks bob


But i need something different like.


 i have one profile name "Amuser" having about 40 users under this profile.i need only two user having username "Anil","Deepak" can access the button that the profile Amuser access .The button is custom button on opportunity layout.