上一页 1 2 3 4 5 6 7 ··· 19 下一页
摘要: 通过LDAP查找AD User所属的ADGroupy1///<summary>2///获得用户所属组的SID3///</summary>4///<code>ComesFromhttp://netwenchao.cnblogs.com</code>5///<returns></returns>6publicstaticIEnumerable<string>GetGroupSidsOfUser(stringuserLoginName,ADOperatoroperater)7{8using(DirectorySear 阅读全文
posted @ 2012-05-25 16:16 David Dong 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 通过LDAP查找出来的结果的Properties中经常会包含byte[]类型的SId,并不是我们在AD中看到的s-x-x-形式的。通过以下函数将其转换。1///<summary>2///转换ByteSidtostring3///</summary>4///<paramname="sidBinary"></param>5///<returns></returns>6publicstaticstringConvertBinarySid2String(byte[]sidBinary)7{8SecurityId 阅读全文
posted @ 2012-05-25 16:06 David Dong 阅读(650) 评论(0) 推荐(0) 编辑
摘要: When a security principal is added to the scope of an item with unique permissions, the security principal is immediately added with the Limited Access permission level to each unique permission scope... 阅读全文
posted @ 2012-05-21 14:28 David Dong 阅读(461) 评论(0) 推荐(0) 编辑
摘要: 使用人群:不动任何js,只懂html的。本文讲解如何使用jquery来显示隐藏页面中相关区域。 1.首先我们有2个div分别是:frm_Win、frm_Mac。其中各有一个显示对方的Link(id="frm_WinShow",id="frm_macShow"). 2.引用jquery在Head区域添加jquery引用(<script type="text/javascript" src="jquery-1.4.1.js"></script>) 注意:一般只要包含jquery-x.x.x.js 阅读全文
posted @ 2012-05-17 16:16 David Dong 阅读(6402) 评论(1) 推荐(0) 编辑
摘要: 安全标识符 (SID) 是用于标识安全主体或安全组在 Windows 操作系统中的可变长度的唯一值。常用 Sid 的 Sid 标识普通用户的一组或通用组。跨所有操作系统,它们的值保持不变。此信息可用于故障排除涉及安全问题。它还可用于 ACL 编辑器中可能出现的潜在显示问题。ACL 编辑器的用户或组的名称而不是可能会显示一个 SID。常用 Sid:SID: S-1-0名称: 空颁发机构说明: 标识符颁发机构。SID: S-1-0-0名称: 没有人说明: 安全主体。SID: S-1-1全球机构的名称:说明: 标识符颁发机构。SID: S-1-1-0名称: 每个人说明: 包括所有甚至匿名用户和来宾用 阅读全文
posted @ 2012-05-10 14:04 David Dong 阅读(2183) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 19 下一页