摘要: C#访问AD一般使用LDAP地址进行访问,可以查询对应域下方的用户信息; 基本代码如下: string[] ldapSearchUserArr = new string[] { "userprincipalname", "userAccountControl", "sAMAccountName", 阅读全文
posted @ 2020-07-02 17:50 CarsonCui 阅读(568) 评论(0) 推荐(0) 编辑