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 | |
---|---|---|
![]() |
Application | (Inherited from _IMsoDispObj.) |
![]() |
Application | Returns an Application object that represents the container application for the object. |
![]() |
Count | Returns an Integer indicating the number of items in the specified collection. |
![]() |
Creator | (Inherited from _IMsoDispObj.) |
![]() |
Creator | Returns a 32-bit integer that indicates the application in which the specified object was created. |
![]() |
DocumentAuthor | Returns or sets the name in email form of the author of the active document. |
![]() |
Enabled | Returns or sets a Boolean value that indicates whether permissions are enabled on the active document. |
![]() |
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. |
![]() |
Item | Returns a UserPermission object that is a member of the Permission collection. |
![]() |
Parent | Returns the Parent object for the specified object. |
![]() |
PermissionFromPolicy | Returns a Boolean value that indicates whether a permission policy has been applied to the active document. |
![]() |
PolicyDescription | Returns the description of the permissions policy applied to the active document. |
![]() |
PolicyName | Returns the name of the permissions policy applied to the active document. |
![]() |
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. |
![]() |
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 | |
---|---|---|
![]() |
Add | Creates a new set of permissions on the active document for the specified user. |
![]() |
ApplyPolicy | Applies the specified permission policy to the active document. |
![]() |
GetEnumerator() | (Inherited from IEnumerable.) |
![]() |
GetEnumerator() | |
![]() |
RemoveAll | Removes all UserPermission objects from the Permission collection of the active document and disables restrictions on the active document. |
Top