PermissionType Enumeration
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

PermissionType Enumeration (Microsoft.Office.InfoPath)

Represents a user's permissions.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in

public enum PermissionType

 Member nameDescription
ChangeAllows users to view, edit, copy, and save, but not print a form. Equivalent to the Read, Edit, Save, and Extract permissions combined. 
EditAllows the user to edit the form. 
ExtractAllows a user with the Read permission to copy content in the form. 
FullControlAllows the user to add, change, and remove permissions for other users of a form. 
ObjectModelAllows 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. 
PrintAllows the user to print the form. 
ReadAllows the user to read (view) the form. (The Read and View permissions are equivalent.) 
SaveAllows the user to save the form. 
ViewAllows the user to view (read) the form. (The Read and View permissions are equivalent.)  

These enumerated constants are returned by the Permission property of the UserPermission class, and passed as the PermissionType parameter to the Add method of the UserPermissionCollection class.

This type or member can be accessed only from code running in forms opened in Microsoft Office InfoPath 2007.

© 2016 Microsoft