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
Raju SudheerRaju Sudheer 

I have vf page in that i want or I don't want to show few thing to a particular user how I will do

anand k 11anand k 11
Hi Raju,

Refer below link to provide access to profiles

https://help.salesforce.com/apex/HTViewHelpDoc?id=pages_page_level_security.htm
https://help.salesforce.com/apex/HTViewHelpDoc?id=perm_sets_visualforce_access.htm
https://help.salesforce.com/apex/HTViewHelpDoc?id=users_profiles_visualforce_access.htm

Thanks
Anand
ManojjenaManojjena
Hi Raju ,
What exactly you don't want to display ? Is it like  all the items are in one section or different section. If all are in  one section then you can keep inside an output panel then rendered="{!If($User.UserName=='Value',false,true)}" So now the output panel will not visible to the user you have defined in the condition and for other it will visible .

Let me know if it helps .