UserPermissionCollection 成员

表示与当前表单关联的 UserPermission 对象的集合。

UserPermissionCollection 类型公开以下成员。

构造函数

  名称 说明
受保护的方法 UserPermissionCollection

页首

属性

  名称 说明
公共属性 Count 获取集合中 UserPermission 对象的数目。
公共属性 Item[Int32] 获取集合中指定索引处的 UserPermission 对象。
公共属性 Item[String] 从集合中获取具有指定 UserIdUserPermission 对象。

页首

方法

  名称 说明
公共方法 Add(String) 向当前表单添加新用户。
公共方法 Add(String, PermissionType) 添加具有指定权限的新用户。
公共方法 Add(String, DateTime) 向当前表单添加新用户并设定到期日期。
公共方法 Add(String, PermissionType, DateTime) 使用指定的权限和到期日期在当前表单上为指定用户创建一组新权限。
公共方法 Equals (从 Object 继承。)
受保护的方法 Finalize (从 Object 继承。)
公共方法 GetEnumerator 获取一个用于对集合进行迭代的 IEnumerator。
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护的方法 MemberwiseClone (从 Object 继承。)
公共方法 Remove 从集合中删除具有指定 UserIdUserPermission 对象。
公共方法 RemoveAll 从集合中删除所有 UserPermission 对象。
公共方法 ToString (从 Object 继承。)

页首

另请参阅

引用

UserPermissionCollection 类

Microsoft.Office.InfoPath 命名空间