Permission Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("096CD6CC-0786-11D1-95FA-0080C78EE3BB")]
public interface Permission : System.Collections.IEnumerable
type Permission = interface
interface IEnumerable
Public Interface Permission
Implements IEnumerable
- Derived
- Attributes
- Implements
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. |