---
schema_version: "1"
id: be23e3ee1f3f28b713203b837a0ed989d5c4a123869422ab57ecd676c945774b
title: Expressions Available for Displaying Current User Information
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/siteforce_communities_data_code_reference.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.siteforce_communities_data_code_reference.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9cdc42ff64605f624ca2b34095bb9c36e86ad1726a52945b8e65d81aec4db487
description: Use these CurrentUser namespace expressions to display authenticated user information on a Site.com community page.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Expressions Available for Displaying Current User Information

Use these `CurrentUser` namespace expressions to display authenticated user information on a Site.com community page.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
      <colgroup>
        <col>
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <p>Available for purchase in: <strong>Enterprise</strong>, <strong>Performance</strong>, and
              <strong>Unlimited</strong> Editions
            </p>
            <p style="margin-bottom:0;">Available (with limitations) in:
              <strong>Developer</strong> Edition
            </p>
          </td>

        </tr>
      </tbody>
    </table>

 
| CurrentUser Expression | Displays |
| --- | --- |
| `{!CurrentUser.name}` | Combined first and last name of the user, as displayed on the user detail page. |
| `{!CurrentUser.firstName}` | First name of the user, as displayed on the user edit page. |
| `{!CurrentUser.lastName}` | Last name of the user, as displayed on the user edit page. |
| `{!CurrentUser.userName}` | Administrative field that defines the user's login. |
| `{!CurrentUser.id}` | User’s Salesforce ID. |
| `{!CurrentUser.email}` | Email address of the user. |
| `{!CurrentUser.communityNickname}` | Name used to identify the user in a site. |
| `{!CurrentUser.accountId}` | Account ID associated with the user. It displays a valid account id for partner and customer users. For all others, it displays '000000000000000'. |
| `{!CurrentUser.effectiveAccountId}` | Account ID associated with the effective account. This expression displays a valid account ID for partner and customer users. For all others, it displays '000000000000000'. |