Permission Members (Microsoft.Office.Interop.InfoPath)
This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seePermissionObject.
The following tables list the members exposed by the Permission type.
|Count||Gets the number of UserPermissionObject objects associated with the form.|
|DocumentAuthor||Gets or sets the author of the current form as an e-mail address.|
|Enabled||Gets or sets whether the permission settings represented by the Permission object are enabled for the current form.|
|Item||Gets the UserPermission object at the specified index.|
|PermissionFromPolicy||Gets whether a permission policy has been applied to the current form.|
|PolicyDescription||Gets a description of the policy that was applied to the current form.|
|PolicyName||Gets the name of the policy that was applied to the current form.|
|RequestPermissionURL||Gets or sets the file, URL, or e-mail address to contact for users who need additional permissions on the current form.|
|StoreLicenses||Gets or sets whether the user's license to view the current form should be cached to allow offline viewing when the user cannot connect to a rights management server.|
|Add||Creates a new set of permissions on the current form for the specified user with the specified permissions and an expiration date.|
|ApplyPolicy||Applies a policy to the form using a policy template file.|
|GetEnumerator||Gets an IEnumerator for iterating over the collection.|
|RemoveAll||Removes all UserPermission objects associated with the form.|