通过System.DirectoryServices.DirectoryEntry de = new System.DirectoryServices.DirectoryEntry(path); path的格式为:“LDAP://<GUID=XXX>” 得到一个DirectoryEntry对象,如果此GUID的值在AD中不存在,会报“从服务器返回了一个参照”错误。
Powered by: 博客园 Copyright © 2024 qdzhbsh Powered by .NET 8.0 on Kubernetes