PermissionType Enum
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.
Represents a user's permissions.
This enumeration supports a bitwise combination of its member values.
public enum class PermissionType
[System.Flags]
public enum PermissionType
type PermissionType =
Public Enum PermissionType
- Inheritance
-
PermissionType
- Attributes
Fields
Name | Value | Description |
---|---|---|
Read | 1 | Allows the user to read (view) the form. (The Read and View permissions are equivalent.) |
View | 1 | Allows the user to view (read) the form. (The Read and View permissions are equivalent.) |
Edit | 2 | Allows the user to edit the form. |
Save | 4 | Allows the user to save the form. |
Extract | 8 | Allows a user with the Read permission to copy content in the form. |
Change | 15 | Allows users to view, edit, copy, and save, but not print a form. Equivalent to the Read, Edit, Save, and Extract permissions combined. |
16 | Allows the user to print the form. |
|
ObjectModel | 32 | Allows a user to access the form document programmatically through its object model. Users without the ObjectModel permission cannot use the object model to determine their own permissions. |
FullControl | 64 | Allows the user to add, change, and remove permissions for other users of a form. |
Remarks
These enumerated constants are returned by the Permission property of the UserPermission class, and passed as the PermissionType
parameter to the Add(String, PermissionType) method of the UserPermissionCollection class.
This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.