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
damo2929damo2929 

Creating a pick list from members of a profile

Hi all

 

I have a requirement in that I need to be able to allocate a custom object  to a member of a profile that is active on the system.

 

 

is there anyway of obtaing the list of people dynamically when then open a visual force page and then building a pick list in that page ?

 

 

hisrinuhisrinu

If you are expecting based on profile name you have to change picklists then you can use {!$Profile.Name} in your code.

 

Something like below

Rendered = If({!$Profile.Name} == 'System Administrator')