Person Account-related extensions to the ExperienceUserUtilities package.
The Experience User Utilities package provides Flow-based utilities that allow common user administration tasks for Experience Cloud users to occur without leaving the Contact record in Lightning Experience. This allows administrators and agents to stay productive by staying out of Salesforce Setup.
But the base utility package does not include support for administering users from Person Account records. This was done to avoid creating a dependency that would limit installation of that package to only orgs where Person Accounts are active. This package adds flows and actions for Person Account support.
- Your Salesforce org must have the Experience User Utilities installed: AppExchange | GitHub
- Your Salesforce org must have Person Accounts enabled.
- Your Salesforce org must have at least one Lightning Record page (built using Lightning App Builder) dedicated to Person Accounts (see these instructions).
Install this package from the AppExchange.
This package installs several items that complement the base Experience User Utilities:
- Wrapper flows that handle resolution of the Person Account's Contact Id, then call the base utilities for User Details, Resetting Passwords, Freezing/Unfreezing a user, and Disable/Deactivate/Reactivate user.
- Corresponding Account object actions for the three administrative wrapper flows above.
- Permission Sets and Permission Set Groups that enable access to the wrapper flows.
These items require some setup in your sandbox or Salesforce org:
The package installs a Permission Set Group named Manage_Experience_Users_From_Lightning. This permission set is used to grant internal users access to the Flows in this package, as well as to flows in the base Experience User Utility package. Click into this permission set group and assign it to any users who will be administering Experience Cloud users from within Lightning Experience.
This permission set group assigns both the base package's permission set and this package's permission set, enabling access to all administrative utility flows in both packages.
Edit the appropriate person account pages in Lightning App Builder. Add a Flow component to the page, and configure it to display the Person Account: Experience User Details flow. And be sure to pass the recordId into the Flow!
When you save this page, you may be prompted to activate it. Since these utilities only operate on Person Accounts, it's critically important that you review your record type settings to make sure this page is only used for Person Accounts.
When Person Accounts are active in your org or sandbox, you will have at least one page layout listed under Person Accounts in Setup's Object Manager. For each person account page layout, you'll need to add three actions in the Salesforce Mobile and Lightning Experience Actions section:
- Reset Password
- Freeze/Unfreze User
- Disable/Deactivate/Reactivate User
All flows in this package are provided as templates. You may create your ovn copies of the flows, but you should not need to do that for these simple wrapper flows. We suggest extending the flows in the base package to implement your own custom logic and running these flows as-is.
This package is provided as part of the Salesforce Labs program. As such, they are not officially supported by Salesforce. We may try to correct any issues that arise, but please keep in mind that we can't guarantee that issues will be addressed.