Specify Author while Write Protecting Workbook with Golang via C++

Possible Usage Scenarios

You can specify the author name while write-protecting your workbook using the Aspose.Cells API. Use the Workbook.GetAuthor() property for this purpose.

Specify Author while Write Protecting Workbook

The following sample code demonstrates the usage of the Workbook.GetAuthor() property. The code creates an empty workbook, write-protects it with a password, specifies the author name, and saves it as an output Excel file. The screenshot below illustrates the effect of the sample code on the output Excel file for your reference.

todo:image_alt_text

Sample Code