Table of contents
TOC
Collapse the table of content
Expand the table of content

Permission Members (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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.

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

NameDescription
AddCreates a set of permissions on the active document for the specified user. Returns a UserPermission object.
ApplyPolicyApplies the specified permission policy to the active document.
RemoveAllRemoves all UserPermission objects from the Permission collection of the active document.

Properties

NameDescription
ApplicationGets 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.
CountGets a Long indicating the number of items in the Permission object. Read-only.
CreatorGets a 32-bit integer that indicates the application in which the Permission object was created. Read-only.
DocumentAuthorGets or sets the name in e-mail form of the author of the active document. Read/write.
EnabledGets or sets a Boolean value that indicates whether permissions are enabled on the active document. Read/write.
EnableTrustedBrowserGets or sets a value indicating whether to enable a browser from a trusted source. Read/write.
ItemGets 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.
ParentGets the Parent object for the Permission object. Read-only.
PermissionFromPolicyGets a Boolean value that indicates whether a permission policy has been applied to the active document. Read-only.
PolicyDescriptionGets the description of the permissions policy applied to the active document. Read-only.
PolicyNameGets the name of the permissions policy applied to the active document. Read-only.
RequestPermissionURLGets or sets the file or Web site URL to visit or the e-mail address to contact for users who need additional permissions on the active document. Read/write.
StoreLicensesGets 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.
© 2018 Microsoft