+ Start a Discussion
sujasuja 

Displaying pages based on profiles

Hi,

 

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

Arunkumar.RArunkumar.R

Yes it's possible,

 

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

 

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

 

 

</apex:page>

 

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