You can specify author name while write protecting your workbook using Aspose.Cells API. Please use Workbook.Settings.WriteProtection.Author property for this purpose.
Specify Author while Write Protecting Workbook
The following sample code explains the usage of the Workbook.Settings.WriteProtection.Author property. The code creates an empty workbook, write protects it with a password, specifies the author’s name and saves it as an output Excel file. The following screenshot illustrates the effect of the sample code on the output Excel file for your reference.
Sample Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters