UserPermissionCollection class

Office 2013 and later

Represents the collection of UserPermission objects associated with the current form.


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

public abstract class UserPermissionCollection : IEnumerable

Each UserPermission object in the UserPermissionCollection is used to associate a specific set of rights with an individual user of a form template. The Count property returns the number of UserPermission objects in the collection, and the Add, Remove and RemoveAll methods can be used to manipulate the members of the collection.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.