Use these CurrentUser namespace expressions to
display authenticated user information on a Site.com community page.
Required Editions
| Available in: Salesforce Classic |
|
Available for purchase in: Enterprise, Performance, and Unlimited Editions Available (with limitations) in: Developer Edition |
| 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'. |