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.

 
 
 
Knowledge 기사 번호

000385841

 
로드 중
Salesforce Help | Article