UserPermissionCollection 成员
表示与当前表单关联的 UserPermission 对象的集合。
UserPermissionCollection 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
UserPermissionCollection |
页首
属性
名称 | 说明 | |
---|---|---|
Count | 获取集合中 UserPermission 对象的数目。 | |
Item[Int32] | 获取集合中指定索引处的 UserPermission 对象。 | |
Item[String] | 从集合中获取具有指定 UserId 的 UserPermission 对象。 |
页首
方法
名称 | 说明 | |
---|---|---|
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 | 从集合中删除具有指定 UserId 的 UserPermission 对象。 | |
RemoveAll | 从集合中删除所有 UserPermission 对象。 | |
ToString | (从 Object 继承。) |
页首