随笔分类 -  G.Active Directory

Active Directory & C#
摘要:根据IsAccountLocked属性来判断Account是否Lock/Unlock,因为LDAP provder不支持IsAccountLocked属性,这里采用WinNT Provider:(注意Provider提供程序标识符区分大小写) 阅读全文
posted @ 2005-07-07 01:55 Rickie 阅读(2963) 评论(0) 推荐(0) 编辑
摘要:首先根据UserName创建DirectoryEntry对象实例: DirectoryEntry de= new DirectoryEntry(results.Path,ADUser,ADPassword,AuthenticationTypes.Secure); 需要注意的是ADUser/ADPassword必须具有Account Operator或Administrator的权限,否则de.CommitChanges();会抛出异常。 阅读全文
posted @ 2005-07-02 00:53 Rickie 阅读(2980) 评论(0) 推荐(0) 编辑
摘要:从Active Directory中获取用户信息 阅读全文
posted @ 2005-07-01 02:12 Rickie 阅读(6274) 评论(4) 推荐(0) 编辑
摘要:基于Active Directory的用户验证 阅读全文
posted @ 2005-06-30 01:50 Rickie 阅读(6797) 评论(4) 推荐(0) 编辑
摘要:编写了一个小工具,可以用来更新用户在Active Directory/Exchange Address Book的个人信息。 阅读全文
posted @ 2005-06-29 09:03 Rickie 阅读(3440) 评论(15) 推荐(0) 编辑