---
schema_version: "1"
id: 958694826d40dc42705ea2af501775c5ebc5fb6980996b25acf2b5d5b2221172
title: Share Personal Contact Information Within Experience Cloud Sites
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/networks_contact_info_visibility.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.networks_contact_info_visibility.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: a5e66eec705601fe0a92b46366956a66ffbcd5c2249e25364f1075436ba8b6cc
description: Users can specify which information from their profile is visible to external users, such as customers and partners, and guests viewing publicly accessible pages that don’t require login.
products:
  - Security
  - Salesforce Platform
release: "264"
---
# Share Personal Contact Information Within Experience Cloud Sites

Users can specify which information from their profile is visible to external users, such as customers and partners, and guests viewing publicly accessible pages that don’t require login.

When interacting with other Experience Cloud site members, it's important to balance being visible and accessible with protecting your personal contact information. You likely don’t want to show your job title, phone numbers, and other contact details outside of your internal organization. Additionally, your customers and partners likely don’t want other customers and partners viewing all their contact information.

Use either the user interface or API to control visibility. You can choose to expose fields to employees only, members of the site from outside your company, or guest users who aren’t required to log in. Some fields are always visible to everyone accessing the site. Some fields allow up to three levels of visibility, while others allow fewer. In the API, setting a field to `true` on the User object makes it visible to the type of user indicated in the field name (external or guest users).

- Employees—Only members from the internal organization can view.
- External—Members from the internal organization and external members, such as customers and partners, can view. External users are those accessing Experience Cloud sites with community or legacy portal licenses.
- Public—Anyone can view, including guest users viewing publicly accessible pages that don't require login. Guest users can access public pages in sites via the Guest User license associated with each Experience Cloud site.

Consider these tips about the visibility of your contact information.

- Your chosen settings apply to every site you're a member of.
- When a user is restricted from viewing a contact information field, there are differences in what's displayed in the user interface versus the API.
    - In the user interface, the restricted field is hidden from your profile everywhere that it usually displays in a site. If your organization displays your profile information on custom Visualforce pages, the field still displays, but with the value #N/A.
    - In the API, a field set to `false` returns the value #N/A.
- Other partners and customers in the site can’t search information in hidden fields on a profile. But users in the company's internal organization can search this type of information.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-access-264-0-0-production-enus/a92be132-3cbc-412a-9262-130636120c14/images/icon_note.png)

Note This setting isn’t enforced in Apex, even with security features such as the WITH USER\_MODE clause, the WITH SECURITY\_ENFORCED clause, or the stripInaccessible method. To hide specific fields on the User object in Apex, use the sample code outlined in [Comply with a User’s Personal Information Visibility Settings](https://developer.salesforce.com/docs/atlas.en-us.communities_dev.meta/communities_dev/communities_dev_pii_settings.htm).

## Default Visibility Settings for Contact Information

This table summarizes the default visibility settings for contact information and your options for restricting visibility.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:15.384615384615385%">
          <col style="width:7.6923076923076925%">
          <col style="width:15.384615384615385%">
          <col style="width:15.384615384615385%">
          <col style="width:46.15384615384615%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d29880e112">Contact Information</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d29880e115">Default Visibility</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d29880e118">Where to Set in User Interface</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d29880e121">Options for Restricting Visibility</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d29880e124">API Controls on User Object</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Contact Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e112 ">
              <p>First Name</p>
              <p>Last Name</p>
              <p>Nickname</p>
              <p style="margin-bottom:0;">About Me</p>
            </td>

            <td data-label="Default Visibility" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e115 ">Public</td>

            <td data-label="Where to Set in User Interface" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e118 ">Go to <span class="menucascade"><strong class="uicontrol"><var>Your Name</var></strong> | <strong class="uicontrol">Edit Contact Info</strong></span>, then click <strong class="uicontrol">About</strong></td>

            <td data-label="Options for Restricting Visibility" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e121 ">Everyone sees these fields unless your administrator enables nickname display or
              creates a custom page that displays this information. If your administrator has enabled
              nickname display, your nickname displays in place of your first and last names in most
              locations.</td>

            <td data-label="API Controls on User Object" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e124 ">N/A</td>

          </tr>
          <tr class="">
            <td data-label="Contact Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e112 ">Title</td>

            <td data-label="Default Visibility" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e115 ">External</td>

            <td data-label="Where to Set in User Interface" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e118 ">Go to <span class="menucascade"><strong class="uicontrol"><var>Your Name</var></strong> | <strong class="uicontrol">Edit Contact Info</strong></span>, then click <strong class="uicontrol">About</strong></td>

            <td data-label="Options for Restricting Visibility" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e121 ">
              <span id="networks_contact_info_visibility__contact_info_visibility_all_levels"><a name="networks_contact_info_visibility__contact_info_visibility_all_levels"><!-- --></a>Employees, external, or
                public</span>
            </td>

            <td data-label="API Controls on User Object" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e124 ">
              <p>
                <samp class="parmname">UserPreferencesShowTitleToExternalUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowTitleToGuestUsers</samp>
              </p>
              <p style="margin-bottom:0;">When
                the guest user preference is set to <code>true</code>, the job
                title field is visible to external members even if the external member preference is set to
                <code>false</code>.
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Contact Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e112 ">Profile photo</td>

            <td data-label="Default Visibility" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e115 ">External. Users without access see the stock photo.</td>

            <td data-label="Where to Set in User Interface" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e118 ">On your profile page, click <strong class="uicontrol">Update</strong> under your photo (or
              <strong class="uicontrol">Add Photo</strong> if you haven't added a photo yet), then select
              <samp class="parmname">Show in sites with publicly accessible pages</samp>
            </td>

            <td data-label="Options for Restricting Visibility" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e121 ">External or public</td>

            <td data-label="API Controls on User Object" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e124 ">
              <samp class="parmname">UserPreferencesShowProfilePicToGuestUsers</samp>
            </td>

          </tr>
          <tr class="">
            <td data-label="Contact Information" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e112 ">
              <p>City</p>
              <p>Country</p>
              <p>Email</p>
              <p>Fax</p>
              <p>Mobile Phone</p>
              <p>State</p>
              <p>Street
                Address</p>
              <p>Work Phone</p>
              <p style="margin-bottom:0;">Zip/Postal Code</p>
            </td>

            <td data-label="Default Visibility" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e115 ">Employees</td>

            <td data-label="Where to Set in User Interface" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e118 ">Go to <span class="menucascade"><strong class="uicontrol"><var>Your Name</var></strong> | <strong class="uicontrol">Edit Contact Info</strong></span>, then click <strong class="uicontrol">Contact</strong></td>

            <td data-label="Options for Restricting Visibility" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e121 ">Employees, external, or public</td>

            <td data-label="API Controls on User Object" class="slds-cell-wrap" style="vertical-align:top;" headers="d29880e124 ">
              <p>For each pair of preferences controlling the visibility of a field, when the
                guest user preference is set to <code>true</code>, the field is
                visible to external members even if the external member preference is set to <code>false</code>.</p>
              <p>
                <samp class="parmname">UserPreferencesShowCityToExternalUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowCityToGuestUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowCountryToExternalUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowCountryToGuestUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowEmailToExternalUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowEmailToGuestUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowFaxToExternalUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowFaxToGuestUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowManagerToExternalUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowManagerToGuestUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowMobilePhoneToExternalUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowMobilePhoneToGuestUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowPostalCodeToExternalUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowPostalCodeToGuestUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowStateToExternalUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowStateToGuestUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowStreetAddressToExternalUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowStreetAddressToGuestUsers</samp>
              </p>
              <p>
                <samp class="parmname">UserPreferencesShowWorkPhoneToExternalUsers</samp>
              </p>
              <p style="margin-bottom:0;">
                <samp class="parmname">UserPreferencesShowWorkPhoneToGuestUsers</samp>
              </p>
            </td>

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