Big Idea or Enduring Question:
-
How do you enable user self-deactivation in Experience Cloud Sites, and why is it beneficial?
Objectives:
After reading this blog, you’ll be able to:
- Follow a step-by-step guide to enable user self-deactivation.
- Set up Experience Cloud to let users deactivate their accounts safely.
- Learn best practices for managing user self-deactivation effectively.
- Enhance user experience and ensure compliance within your Experience Cloud site.
- And much more!
👉 Previously, I’ve shared several posts on effectively implementing key branding and SEO features for Experience Cloud sites. Why not check them out while you’re here?
- Step-by-Step Guide to Generate a Sitemap in Salesforce Experience Cloud
- Step-by-Step Guide to Configuring Custom Domains for Experience Cloud Sites
- Step-by-Step Guide to Write SEO-Friendly Titles & Descriptions for Experience Cloud Pages
Business Use case
Olivia Bennett, a Junior Developer at Gurukul on Cloud (GoC), is part of a team working on building an Experience Cloud site for the company’s help portal. One thing she learned recently is that the portal might be used by hundreds of thousands of users. That brought up a good topic in her last call with portal manager Jessica Carter: How do we plan to handle user deactivation?
Jessica asked Olivia to do some research before the next meeting to streamline the deactivation process with minimal manual effort. Olivia just found out about the User Self-Deactivation feature for Experience Cloud and wanted to learn more about it. She reached out to her mentor, Joe Smith, to discuss the User Self-Deactivation feature and learn more about how to implement it.
What Are the Benefits of User Self-Deactivation?
User self-deactivation is a valuable feature in Experience Cloud that allows users to deactivate their accounts without requiring administrator intervention. This feature enhances user autonomy while reducing manual workload for administrators. Here are the key benefits:
- Better User Experience: Users can deactivate their accounts on their own, without waiting for admin support.
- Less Manual Work for Admins: Reduces the time and effort spent on processing deactivation requests.
- Compliance with Privacy Laws: Helps meet regulations like GDPR and CCPA by giving users control over their accounts.
- Improved Security: Prevents inactive accounts from becoming security risks.
- Scalability: Makes it easier to manage a large number of users without extra effort.
- Builds Trust: Shows transparency and gives users confidence in the platform.
This feature helps both users and admins by making the deactivation process simple, secure, and efficient.
Automation Champion Approach (I-do):
Enabling user self-deactivation for Experience Cloud is a quick and efficient way to give users control over their accounts while reducing admin workload. Follow these two simple steps:
Step 1: Enable User Self-Deactivation in Settings
This step enables the self-deactivation feature in Salesforce. Once turned on, Experience Cloud site and Chatter users can deactivate their own accounts.
- Click Setup.
- In the Quick Find box, type User Management Settings and select it.
- Find the option Enable User Self-Deactivation.
- Turn it ON.

Step 2: Add a Self-Deactivation Option in Experience Cloud
This step ensures users can access the deactivation option in their account settings.
- Open Experience Builder for your Experience Cloud site.
- Navigate to the User Settings page or the section where you want to add this feature.
- Ensure that you are using the Customizable User Settings component.
- Configure the component’s Account Details properties as shown in the below screenshot.
- Once done, make sure to publish the Experience Cloud site to apply the changes.

Proof of Concept
From now onwards, Experience Cloud users can deactivate their accounts by simply clicking on the Deactivate My Account button. This feature allows users to manage their account status easily, without needing administrator assistance. The results are identical to an administrator-initiated deactivation.
Formative Assessment:
I want to hear from you!
What is one thing you learned from this post? How do you envision applying this new knowledge in the real world? Feel free to share in the comments below.

One thought on “Step-by-Step Guide to Enabling User Self-Deactivation in Experience Cloud Sites”