You are here:
Downgrade Users with Community Licenses to Contactless Users
You can convert users with community licenses to contactless users. By converting users, you can expand your Experience Cloud site’s reach without adding to the cost. For example, you can downgrade inactive or unqualified users and then upgrade them to full-featured site users later on. You can downgrade users from Setup and through the API.
Downgrading an Experience Cloud site user to a contactless user is a two-step process. You disable the site user, and then reactivate them as a contactless user. When you disable users, Salesforce deactivates them and invalidates their usernames by renaming them. You restore the usernames when you reactivate the users. Reactivated users receive a Welcome New Member email from Salesforce. You can prevent Salesforce from sending welcome emails from Experience Workspaces.
-
Disable the user’s contact.
- From the user’s contact detail page, save the contact’s username.
- From the action dropdown menu, select Disable User.
-
(Optional) Disable welcome emails.
- From Experience Workspaces, select Administration, and then select Emails.
- Under Email Templates, deselect Send welcome email.
-
Activate the user as a contactless customer or partner.
- From Setup, enter Users in the Quick Find box, then select Users.
- Next to the user you’re downgrading, click Edit.
- For user license, select External Identity, and then select a customer or partner profile.
- Select Active.
- Restore the username name by replacing the username with the one you saved.
- Save your changes.
You can also downgrade users in bulk from the API. If you’re downgrading in bulk, assign the users to a profile. In this example, we’re downgrading a single user.
//Disable user
String uName;
User u = [SELECT Id, UserName FROM User WHERE Id = '005xx009871TQXL'];
u.IsPortalEnabled=false;
uName = u.UserName;
Update u;
//Activate as a contactless user
User u1 = [SELECT Id, UserName, IsActive FROM User WHERE Id = '005xx009871TQXL'];
u1.UserName = 'sarah@mycompany.com'; // Or uName from above
u1.IsActive = true;
Update u1;
