c# - System.DirectoryServices.DirectorySearcher.PropertiesToLoad 中有哪些不同的可用属性

标签 c# active-directory directoryservices

我在谷歌上搜索的所有内容只是说您可以将它们添加为字符串数组,但没有说明可用选项是什么。

目录服务提供的所有不同属性有哪些?

最佳答案

你可以把任何 将有效的 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/

相关文章:

c# - C#中的数据绑定(bind)问题

c# - 如何强制 hangfire 服务器在重启时删除该特定服务器的旧服务器数据?

c++ - 如何使用 C++ 在 ActiveDirectory 中获取 maxpwdAge 属性值?

c# - AAD : How uniquely identify users in a Web API?

c# - 为什么我的目录搜索需要这么长时间?

c# - 无法提取信息

c# - 在 Unity 中的最小和最大 X、Y 和 Z 坐标之间移动相机

c# - Microsoft Shims 无法调试正在测试的方法

修改AD用户的Java示例 "Change Password At Next Logon"

c# - PrincipalSearcher 和 DirectorySearcher 之间的区别