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.
- Open the file
Navigate to the File in the Files tab or on a record page. Open the file detail page.
- Click Change Owner
From the file''s action menu, click Change Owner. The change-owner dialog opens.
- Select the new owner
Search for and pick the user (or, in some configurations, queue) who should become the new owner.
- 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.
- 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.
- 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.
Single-file transfer via the file detail page.
Bulk transfer by updating ContentDocument.OwnerId for many files at once.
CSV-based bulk transfer for one-time migrations.
Apex Schedulable or trigger that auto-reassigns when a user is deactivated.
- 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.