Forum Replies Created

  • Jean

    Member
    August 5, 2018 at 6:02 PM in reply to: How to limit section visibility based on profile in visualforce page?

    You can use the rendered attribute on the pageblock or pageblock section, and use the UserInfo methods on your apex class to get the logged in user's profile information. This will render the page conditionally depending on the profile.

    for example: <apex:pageBlock rendered="{!userProfile=='System Administrator'}">

Popular Salesforce Blogs

Popular Salesforce Videos