Loading
Salesforce now sends email only from verified domains. Read More
Extend Salesforce with Clicks, Not Code
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Display Current Community User Information

          Display Current Community User Information

          Site.com designers creating authenticated pages for a community site can display the current user's information by accessing CurrentUser namespace expressions.

          Required Editions

          Available in: Salesforce Classic

          Available for purchase in: Enterprise, Performance, and Unlimited Editions

          Available (with limitations) in: Developer Edition

          User Permissions Needed
          To build, edit, and manage a community’s Site.com custom pages:

          Create and Set Up Communities

          OR

          Site.com Publisher User field enabled on the user detail page

          AND

          Site administrator or designer role assigned at the site level

          1. Open the page on which you want to display the current community user's information.
          2. From the Page Elements pane, drag a Content Block or Custom Code page element onto the page.
          3. Type {!CurrentUser. and the value that you want to display.
            For example, {!CurrentUser.firstName}.
          4. Add any additional text you require.
            For example, Welcome back {!CurrentUser.firstName}!.
          5. If you're in a Content Block, click Save. If you're in a Custom Code element, click Save and Close.
          Note
          Note If an unauthenticated user views a page that contains CurrentUser expressions, the current user information does not appear. For example, if an unauthenticated user viewed a page that contained the previous example, the user sees “Welcome back !” as the welcome message.
           
          Loading
          Salesforce Help | Article