Global Variables

Global variables insert information about the current user or user contact into formulas.

Examples

Use the following global variable to insert the current user’s last name.

{!$User.LastName}

Use the following global variable to insert the current user contact’s email address.

{!$Contact.Email}

Supported Global Variables

You can use the $USER and $Contact global variables in formulas.

$USER

Global Variable Inserts

{!$User.Alias}

Alias of the current user’s record

{!$User.City}

City in the current user’s address

{!$User.CommunityNickname}

Nickname of the current user’s community profile

{!$User.CompanyName}

Company for whom the current user works

{!$User.Country}

Country in the current user’s address

{!$User.Department}

Department in which the current user works

{!$User.Division}

Division in which the current user works

{!$User.Email}

Current user’s email address

{!$User.EmployeeNumber}

Current user’s employee number

{!$User.Extension}

Current user’s phone extension

{!$User.Fax}

Current user’s fax number

{!$User.FirstName}

Current user’s first name

{!$User.LastName}

Current user’s last name

{!$User.MobilePhone}

Current user’s mobile phone number

{!$User.Phone}

Current user’s business phone number

{!$User.PostalCode}

Postal code in the current user’s address

{!$User.State}

State/Province in the current user’s address

{!$User.Street}

Building number and street in the current user’s address

{!$User.Title}

Current user’s job title

{!$User.UITheme}

User interface theme selected for the current user

{!$User.UIThemeDisplayed}

User interface theme displaying for the current user

{!$User.Username}

Current user’s username

Global Variable

Inserts

$Contact

Global Variable Inserts

{!$Contact.Department}

Department in which the current contact works

{!$Contact.Email}

Current contact’s email address

{!$Contact.EmployeeNumber}

Current contact’s employee number

{!$Contact.Extension}

Current contact’s phone extension

{!$Contact.Fax}

Current contact’s fax number

{!$Contact.FirstName}

Current contact’s first name

{!$Contact.LastName}

Current contact’s last name

{!$Contact.MailingCity}

City in the current contact’s mailing address

{!$Contact.MailingCountry}

Country in the current contact’s mailing address

{!$Contact.MailingPostalCode}

Postal code in the current contact’s address

{!$Contact.MailingState}

State/Province in the current contact’s address

{!$Contact.MailingStreet}

Building number and street in the current contact’s mailing address

{!$Contact.MobilePhone}

Current contact’s mobile phone number

{!$Contact.OtherCity}

City in the current contact’s other address

{!$Contact.OtherCountry}

Country in the current contact’s other address

{!$Contact.OtherPhone}

Current contact’s other phone number

{!$Contact.OtherPostalCode}

Postal code in the current other address

{!$Contact.OtherState}

State/Province in the current other address

{!$Contact.OtherStreet}

Building number and street in the current contact’s other address

{!$Contact.Phone}

Current contact’s business phone number

{!$Contact.ReportsToId}

Current contact’s supervisor

{!$Contact.Title}

Current contact’s job title

Global Variable

Inserts