Loading

Considerations when Portal Roles are deleted

Дата публикации: May 21, 2026
Описание

When portal roles are deleted in Salesforce, the system automatically renames the remaining roles to maintain the hierarchy. Admins managing Partner or Customer Community portal access should understand this behavior before making role deletions.

Role Deletion Rules

  • Roles can be deleted only when no user is assigned. If a user is assigned, move them first.
  • Role IDs remain unchanged after renaming; only the display name changes.
  • Currently, there is no way to delete a role that is assigned to a user.

Renaming Logic After Deletion

If:

  • 1 role is left: User
  • 2 roles are left: Manager and User
  • 3 roles are left: Executive, Manager, and User

Example

If a Partner account has 3 roles and Manager is deleted, the Executive role is renamed Manager. The former Executive now functions as Manager.

Решение

Steps to Safely Delete a Portal Role

  1. Navigate to the portal role hierarchy.
  2. Identify the role to delete.
  3. If users are assigned, reassign them to another role first.
  4. Delete the role.
  5. Review the updated hierarchy to confirm renaming occurred as expected.

Note: All changes are logged in the Setup Audit Trail.

 
 
 
Номер статьи базы знаний

000385841

 
Загрузка
Salesforce Help | Article