Edit

Share via


Permission Interface

Definition

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.

public interface class Permission
[System.Runtime.InteropServices.Guid("096cd6cc-0786-11d1-95fa-0080c78ee3bb")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)]
public interface Permission
type Permission = interface
Public Interface Permission
Derived
Attributes

Properties

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[Object]

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.

Methods

Add(String, Object, Object)

Creates a new set of permissions on the current form for the specified user with the specified permissions and an expiration date.

ApplyPolicy(String)

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.

Applies to