Gets a Microsoft.Office.Core.Permission object that represents the permission settings in the workbook.
Assembly: Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
The following code example uses the property to display a message if permissions are not enabled on the current workbook.
This example is for a document-level customization.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.