You are here:
Configure Independent Guest Field Masking
Use field sets to control which user fields guest users can see separately from other external users, such as portal users. With Independent Guest Field Masking, guest users can't see the fields listed in the Guest_PersonalInfo_EPIM field set.
Required Editions
| Available in: Salesforce Classic and Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions |
| Applies to: LWR, Aura, and Visualforce sites |
| User Permissions Needed | |
|---|---|
| To enable Independent Guest Field Masking: | Customize Application |
After you turn on Independent Guest Field Masking, the existing PersonalInfo_EPIM field set applies only to authenticated external users (portal users), and the new Guest_PersonalInfo_EPIM field set applies to unauthenticated external users (guest users).
For new orgs (Winter '27 and later), if Digital Experiences and Enhanced Personal Information Management are enabled, Independent Guest Field Masking turns on automatically.
FullPhotoUrl, MediumPhotoUrl,
SmallPhotoUrl, BannerPhotoUrl,
MediumBannerPhotoUrl, SmallBannerPhotoUrl) or fields used
by Apex classes, Flows, or UI components, remove those fields from the
Guest_PersonalInfo_EPIM field set to avoid breaking those features.The default masked fields also include lookup fields, such as Account,
Contact, and UserRole. When an Apex class, Flow, or
component traverses one of these relationships for a guest user, for example,
user.UserRole.Name, the masked field returns a null value with no error.
If your site depends on this type of relationship traversal, remove the lookup field from
the Guest_PersonalInfo_EPIM field set.
- From Setup, in the Quick Find box, enter User Management Settings, and then select User Management Settings.
-
Select Independent Guest Field Masking.
- New orgs (Winter '27 and later): This setting is already enabled. The Guest_PersonalInfo_EPIM field set contains an expanded set of default masked fields, which includes all custom user fields. Review the field set and remove any fields that guest users need to access.
- Existing orgs: When you enable this setting, the Guest_PersonalInfo_EPIM field set is initialized as a copy of your existing PersonalInfo_EPIM field set. Your current guest user visibility is preserved. Selectively add fields to Guest_PersonalInfo_EPIM to tighten security.
-
To customize which fields are concealed from guest users, modify the
Guest_PersonalInfo_EPIM field set.
Add any standard or custom user fields except system fields, formula fields, the Default Currency ISO Code field, and the Information Currency field.
- In Object Manager, select User.
- Click Field Sets, and then select Guest_PersonalInfo_EPIM.
- Add or remove fields from the Guest_PersonalInfo_EPIM field set.
- Save your work.
In new orgs, the Guest_PersonalInfo_EPIM field set masks 59 standard fields plus all custom fields on the User entity by default. The field set includes the 30 fields from the original PersonalInfo_EPIM field set, plus these additional fields.
| Category | Fields |
|---|---|
| Banner and photo fields | BannerPhoto, BannerPhotoUrl, FullPhotoUrl, MediumBannerPhotoUrl, MediumPhotoUrl, SmallBannerPhotoUrl, SmallPhotoUrl, ProfilePhoto, IsProfilePhotoActive |
| Lookup fields | Account, Contact, DelegatedApprover, Individual, Person, Profile, UserRole, CallCenter, Workspace |
| Name fields | MiddleName, Suffix |
| Locale and preference fields | EmailEncodingKey, LanguageLocaleKey, LocaleSidKey, TimeZoneSidKey, DigestFrequency, DefaultGroupNotificationFrequency, DefaultDivision, ForecastEnabled, ReceivesAdminInfoEmails, ReceivesInfoEmails, OutOfOfficeMessage, StartDay, EndDay, SharingType, UserSubtype, IsExtIndicatorVisible, IsSystemControlled |
| Login fields | LastLoginDate, LastLoginMessageDate, LastPasswordChangeDate, PasswordExpirationDate, NumberOfFailedLogins, HasUserVerifiedEmail, HasUserVerifiedPhone, SuAccessExpirationDate |
| Other fields | LastDashboard, LastPricebook, LastReferencedDate, LastTabSet, LastViewedDate, RawCurrentStatus, ChatterAdoptionStage, ChatterAdoptionStageModifiedDate, OfflinePdaTrialExpirationDate, OfflineTrialExpirationDate, WirelessEmail, StayInTouchNote, StayInTouchSignature, StayInTouchSubject |
| Custom fields | All custom fields on the User entity |
For the original 30 fields shared with the PersonalInfo_EPIM field set, see Configure Enhanced Personal Information Management Using Field Sets.
