Loading
Salesforce now sends email only from verified domains. Read More
Help Agent Performance DegradationRead More
Manage Users and Data Access
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
          Share Personal Contact Information Within Experience Cloud Sites

          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
          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.

          Default Visibility Settings for Contact Information

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

          Contact Information Default Visibility Where to Set in User Interface Options for Restricting Visibility API Controls on User Object

          First Name

          Last Name

          Nickname

          About Me

          Public Go to Your Name | Edit Contact Info, then click About 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. N/A
          Title External Go to Your Name | Edit Contact Info, then click About Employees, external, or public

          UserPreferencesShowTitleToExternalUsers

          UserPreferencesShowTitleToGuestUsers

          When the guest user preference is set to true, the job title field is visible to external members even if the external member preference is set to false.

          Profile photo External. Users without access see the stock photo. On your profile page, click Update under your photo (or Add Photo if you haven't added a photo yet), then select Show in sites with publicly accessible pages External or public UserPreferencesShowProfilePicToGuestUsers

          City

          Country

          Email

          Fax

          Mobile Phone

          State

          Street Address

          Work Phone

          Zip/Postal Code

          Employees Go to Your Name | Edit Contact Info, then click Contact Employees, external, or public

          For each pair of preferences controlling the visibility of a field, when the guest user preference is set to true, the field is visible to external members even if the external member preference is set to false.

          UserPreferencesShowCityToExternalUsers

          UserPreferencesShowCityToGuestUsers

          UserPreferencesShowCountryToExternalUsers

          UserPreferencesShowCountryToGuestUsers

          UserPreferencesShowEmailToExternalUsers

          UserPreferencesShowEmailToGuestUsers

          UserPreferencesShowFaxToExternalUsers

          UserPreferencesShowFaxToGuestUsers

          UserPreferencesShowManagerToExternalUsers

          UserPreferencesShowManagerToGuestUsers

          UserPreferencesShowMobilePhoneToExternalUsers

          UserPreferencesShowMobilePhoneToGuestUsers

          UserPreferencesShowPostalCodeToExternalUsers

          UserPreferencesShowPostalCodeToGuestUsers

          UserPreferencesShowStateToExternalUsers

          UserPreferencesShowStateToGuestUsers

          UserPreferencesShowStreetAddressToExternalUsers

          UserPreferencesShowStreetAddressToGuestUsers

          UserPreferencesShowWorkPhoneToExternalUsers

          UserPreferencesShowWorkPhoneToGuestUsers

           
          Loading
          Salesforce Help | Article