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

picklist values showed in visualforce page

Hi, how can I accomplish this with a visualforce page: I have the following:

one public group called A to see pickist values 1,2,3
one public group called B to see picklist values 3,2,1
one public group called C to see picklist values 1,3,2

Now in visualforce page I want to dynamically display it if the current user is for example in public group B to display only the values 3,2,1.


AbhinavAbhinav (Salesforce Developers) 

Check suggestion for similar scenario dynamic picklist values in visualforce based on users profile: