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
venkatesh Raaye 12venkatesh Raaye 12 

user lookup to show only users under a role

Hi everyone,

We have requirment that on lead object we have a field "Lead Owner" which is lookup to user. Here we need to show only the users under a role in the lead owner field.
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Venkatesh, hope it helps.

Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.

Thanks
Rahul Kumar
venkatesh Raaye 12venkatesh Raaye 12
Hi Rahul Kumar,

Thanks for your reply but What I am expecting is, If i am a lead owner and when I want to change the lead owner, I need to see only the users under me and I should not see any other users.