C# System.DirectoryServices.DirectoryEntry 域用户验证
今天开发一个web site 想直接调用域用户的密码来验证登陆 C#开发,直接引用System.DirectoryServices.DirectoryEntry。 //获取所有域用户 var domain = new System.DirectoryServices.DirectoryEntry("LDAP://domain"); ...