Permission members (Office)

The Permission property of the Document object in Microsoft Word, a Workbook object in Microsoft Excel, and a Presentation object in Microsoft PowerPoint returns a Permission object.

Methods

Name Description
Add Creates a set of permissions on the active document for the specified user. Returns a UserPermission object.
ApplyPolicy Applies the specified permission policy to the active document.
RemoveAll Removes all UserPermission objects from the Permission collection of the active document.

Properties

Name Description
Application Gets an Application object that represents the container application for the Permission object (you can use this property with an Automation object to return that object's container application). Read-only.
Count Gets a Long indicating the number of items in the Permission object. Read-only.
Creator Gets a 32-bit integer that indicates the application in which the Permission object was created. Read-only.
DocumentAuthor Gets or sets the name in email form of the author of the active document. Read/write.
Enabled Gets or sets a Boolean value that indicates whether permissions are enabled on the active document. Read/write.
EnableTrustedBrowser Gets or sets a value indicating whether to enable a browser from a trusted source. Read/write.
Item Gets a UserPermission object that is a member of the Permission collection. The UserPermission object associates a set of permissions on the active document with a single user and an optional expiration date. Read-only.
Parent Gets the Parent object for the Permission object. Read-only.
PermissionFromPolicy Gets a Boolean value that indicates whether a permission policy has been applied to the active document. Read-only.
PolicyDescription Gets the description of the permissions policy applied to the active document. Read-only.
PolicyName Gets the name of the permissions policy applied to the active document. Read-only.
RequestPermissionURL Gets or sets the file or Web site URL to visit or the email address to contact for users who need additional permissions on the active document. Read/write.
SensitivityLabelID Gets or sets the sensitivity label id included in user defined protection. Read/write.
StoreLicenses Gets or sets a Boolean value that indicates whether the user's license to view the active document should be cached to allow offline viewing when the user cannot connect to a rights management server. Read/write.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.