Share via


Permission Object Members

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

Methods

  Name Description
Aa433450.methods(en-us,office.12).gif Add Creates a set of permissions on the active document for the specified user. Returns a UserPermission object.
Aa433450.methods(en-us,office.12).gif ApplyPolicy Applies the specified permission policy to the active document.
Aa433450.methods(en-us,office.12).gif RemoveAll Removes all UserPermission objects from the Permission collection of the active document.

Properties

  Name Description
Aa433450.properties(en-us,office.12).gif 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.
Aa433450.properties(en-us,office.12).gif Count Gets a Long indicating the number of items in the Permission object. Read-only.
Aa433450.properties(en-us,office.12).gif Creator Gets a 32-bit integer that indicates the application in which the Permission object was created. Read-only.
Aa433450.properties(en-us,office.12).gif DocumentAuthor Gets or sets the name in e-mail form of the author of the active document. Read/write.
Aa433450.properties(en-us,office.12).gif Enabled Gets or sets a Boolean value that indicates whether permissions are enabled on the active document. Read/write.
Aa433450.properties(en-us,office.12).gif EnableTrustedBrowser Gets or sets a value indicating whether to enable a browser from a trusted source. Read/write.
Aa433450.properties(en-us,office.12).gif 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.
Aa433450.properties(en-us,office.12).gif Parent Gets the Parent object for the Permission object. Read-only.
Aa433450.properties(en-us,office.12).gif PermissionFromPolicy Gets a Boolean value that indicates whether a permission policy has been applied to the active document. Read-only.
Aa433450.properties(en-us,office.12).gif PolicyDescription Gets the description of the permissions policy applied to the active document. Read-only.
Aa433450.properties(en-us,office.12).gif PolicyName Gets the name of the permissions policy applied to the active document. Read-only.
Aa433450.properties(en-us,office.12).gif RequestPermissionURL Gets 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.
Aa433450.properties(en-us,office.12).gif 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.