WriteProtection Class Members
In This Topic
The following tables list the members exposed by WriteProtection.
Public Constructors
Public Methods
| Name | Description |
| getReadOnlyRecommended | Gets if the Read Only Recommended option is selected. |
| getWriteReserved | Gets whether this workbook is write protected. |
| getWriteReservedBy | Gets the name of the user who currently has write permission for the workbook. If you don't explicitly specify this property, the value will come from the IWorkbook.Author, and if the IWorkbook.Author is empty string or null, the value will be "Document Solution for Excel". |
| setReadOnlyRecommended | Sets if the Read Only Recommended option is selected. |
| setWritePassword | Sets the protected password to modify the file. |
| setWriteReservedBy | Sets the name of the user who currently has write permission for the workbook. |
| validatePassword | Returns true if the specified password is the same as the write-protection password the file was protected with. |
Top
See Also