+ Start a Discussion

Displaying pages based on profiles



We have a requirement:

We need to display Visual Force page on click of Account tab only for system admin profile.

Where as for other profiles, we need to display Standard Account page layout.


thanks in advance


Yes it's possible,


<apex:page rendered="{!IF($Profile.Name =='System Administrator', true , false)}">


----------- your content--------------





If you found this answer helpful to you... Please accept this as a Solution and  give kudos by clicking on the star icon.


Thanks and Regards,

Arunkumar.R | Salesforce Certified Developer