Share via


PermissionType Enumeration (Microsoft.Office.InfoPath)

Represents a user's permissions.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration PermissionType
'Usage
Dim instance As PermissionType
[FlagsAttribute] 
public enum PermissionType

Members

  Member name Description
Change Allows users to view, edit, copy, and save, but not print a form. Equivalent to the Read, Edit, Save, and Extract permissions combined. 
Edit Allows the user to edit the form. 
Extract Allows a user with the Read permission to copy content in the form. 
FullControl Allows the user to add, change, and remove permissions for other users of a form. 
ObjectModel 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. 
Print Allows the user to print the form. 
Read Allows the user to read (view) the form. (The Read and View permissions are equivalent.) 
Save Allows the user to save the form. 
View Allows the user to view (read) the form. (The Read and View permissions are equivalent.)  

Remarks

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.

See Also

Reference

Microsoft.Office.InfoPath Namespace