我在谷歌上搜索的所有内容只是说您可以将它们添加为字符串数组,但没有说明可用选项是什么。
目录服务提供的所有不同属性有哪些?
最佳答案
你可以把任何 将有效的 LDAP 属性转换为 PropertiesToLoad
- 见 list of all Active Directory attributes here - 您需要的是 Ldap-Display-Name
对于您感兴趣的每个属性。
另外:Richard Mueller has a site with lots of good info on AD and LDAP - 包括 AD 属性的 Excel 电子表格(以及从 Active Directory 用户和计算机工具到在这些各种对话框屏幕上设置的实际 AD 属性的映射。
关于c# - System.DirectoryServices.DirectorySearcher.PropertiesToLoad 中有哪些不同的可用属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10035481/