通过System.DirectoryServices.DirectoryEntry de = new System.DirectoryServices.DirectoryEntry(path); path的格式为:“LDAP://<GUID=XXX>” 得到一个DirectoryEntry对象,如果此GUID的值在AD中不存在,会报“从服务器返回了一个参照”错误。
通过System.DirectoryServices.DirectoryEntry de = new System.DirectoryServices.DirectoryEntry(path); path的格式为:“LDAP://<GUID=XXX>” 得到一个DirectoryEntry对象,如果此GUID的值在AD中不存在,会报“从服务器返回了一个参照”错误。
相关文章: