Setting author of changes

GroupDocs.Comparison for Python via .NET allows you to set the revision author name for changes in the result.

Set revision author name

Enable revisions, track Word changes, and set the author name to appear in the result.

import groupdocs.comparison as gc

with gc.Comparer("source.docx") as comparer:
    comparer.add("target.docx")
    options = gc.CompareOptions()
    options.show_revisions = True
    options.word_track_changes = True
    options.revision_author_name = "New author"
    comparer.compare("result.docx", options)

🔹 Use case: Attribute changes to a specific reviewer or automated system in audit trails.

The result is as follows:

Change author

Close
Loading

Analyzing your prompt, please hold on...

An error occurred while retrieving the results. Please refresh the page and try again.