Salesforce Dictionary - Free Salesforce GlossarySalesforce Dictionary
Full File Owner entry
How-to guide

How to transfer File ownership in Salesforce

Transferring File ownership is a UI action on the file detail page or a DML update via Apex/API. Bulk transfers happen via Data Loader or scripted Apex.

By Dipojjal Chakrabarti · Founder & Editor, Salesforce DictionaryLast updated May 21, 2026

Transferring File ownership is a UI action on the file detail page or a DML update via Apex/API. Bulk transfers happen via Data Loader or scripted Apex.

  1. Open the file

    Navigate to the File in the Files tab or on a record page. Open the file detail page.

  2. Click Change Owner

    From the file''s action menu, click Change Owner. The change-owner dialog opens.

  3. Select the new owner

    Search for and pick the user (or, in some configurations, queue) who should become the new owner.

  4. Choose whether to keep the prior owner as Collaborator

    The dialog asks whether to keep the previous owner with Collaborator access. Decide based on whether they should continue contributing.

  5. Confirm and save

    Click Save. The platform updates ContentDocument.OwnerId. The new owner has full control; old owner is downgraded (or removed) per your selection.

  6. Verify the transfer

    Confirm the new owner has full control by logging in as them or using Login As. They should be able to share, delete, and transfer the file.

Key options
UI ownership transferremember

Single-file transfer via the file detail page.

Apex/DML ownership transferremember

Bulk transfer by updating ContentDocument.OwnerId for many files at once.

Data Loader transferremember

CSV-based bulk transfer for one-time migrations.

Scheduled transfer on user deactivationremember

Apex Schedulable or trigger that auto-reassigns when a user is deactivated.

Gotchas
  • Default ownership is set silently at upload. Users may not realize they own thousands of Files; quarterly audits help.
  • Deactivating a user does not transfer their Files automatically. Plan a transfer process; orphaned files are a recurring problem.
  • Modify All Data permission overrides ownership. System admins can access any file; document use of this override for compliance.
  • Multiple ContentDocumentLink Owners create coordination problems. Stick to one Owner per file unless business need is clear.

See the full File Owner entry

File Owner includes the definition, worked example, deep dive, related terms, and a quiz.