Partager via


UserPermissionCollection Class

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

Inheritance Hierarchy

System.Object
  Microsoft.Office.InfoPath.UserPermissionCollection

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

Syntax

'Declaration
Public MustInherit Class UserPermissionCollection _
    Implements IEnumerable
'Usage
Dim instance As UserPermissionCollection
public abstract class UserPermissionCollection : IEnumerable

Remarks

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.

Thread Safety

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

See Also

Reference

UserPermissionCollection Members

Microsoft.Office.InfoPath Namespace