Permission members

Include protected members
Include inherited members

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 Permission type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of UserPermissionObject objects associated with the form.
Public property DocumentAuthor Gets or sets the author of the current form as an e-mail address.
Public property Enabled Gets or sets whether the permission settings represented by the Permission object are enabled for the current form.
Public property Item Gets the UserPermission object at the specified index.
Public property PermissionFromPolicy Gets whether a permission policy has been applied to the current form.
Public property PolicyDescription Gets a description of the policy that was applied to the current form.
Public property PolicyName Gets the name of the policy that was applied to the current form.
Public property RequestPermissionURL Gets or sets the file, URL, or e-mail address to contact for users who need additional permissions on the current form.
Public property 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.

Top

Methods

  Name Description
Public method Add Creates a new set of permissions on the current form for the specified user with the specified permissions and an expiration date.
Public method ApplyPolicy Applies a policy to the form using a policy template file.
Public method GetEnumerator Gets an IEnumerator for iterating over the collection.
Public method RemoveAll Removes all UserPermission objects associated with the form.

Top

See also

Reference

Permission interface

Microsoft.Office.Interop.InfoPath.SemiTrust namespace