Permission Members

Include Protected Members
Include Inherited Members

Use the Permission object to restrict permissions to the active document and to return or set specific permissions settings.

The Permission type exposes the following members.

Properties

  Name Description
Public property Application (Inherited from _IMsoDispObj.)
Public property Application Returns an Application object that represents the container application for the object.
Public property Count Returns an Integer indicating the number of items in the specified collection.
Public property Creator (Inherited from _IMsoDispObj.)
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created.
Public property DocumentAuthor Returns or sets the name in email form of the author of the active document.
Public property Enabled Returns or sets a Boolean value that indicates whether permissions are enabled on the active document.
Public property EnableTrustedBrowser Returns or sets the option that allows a user to view a document with restricted permissions in a web browser if the user does not have the appropriate client application installed.
Public property Item Returns a UserPermission object that is a member of the Permission collection.
Public property Parent Returns the Parent object for the specified object.
Public property PermissionFromPolicy Returns a Boolean value that indicates whether a permission policy has been applied to the active document.
Public property PolicyDescription Returns the description of the permissions policy applied to the active document.
Public property PolicyName Returns the name of the permissions policy applied to the active document.
Public property RequestPermissionURL Returns 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.
Public property StoreLicenses Returns 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.

Top

Methods

  Name Description
Public method Add Creates a new set of permissions on the active document for the specified user.
Public method ApplyPolicy Applies the specified permission policy to the active document.
Public method GetEnumerator() (Inherited from IEnumerable.)
Public method GetEnumerator()
Public method RemoveAll Removes all UserPermission objects from the Permission collection of the active document and disables restrictions on the active document.

Top

See Also

Reference

Permission Interface

Microsoft.Office.Core Namespace