System.DirectoryServices.DirectorySearcher.PropertiesToLoad中可用的不同属性是什么 [英] What are the different properties available in System.DirectoryServices.DirectorySearcher.PropertiesToLoad

查看:62
本文介绍了System.DirectoryServices.DirectorySearcher.PropertiesToLoad中可用的不同属性是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Everything I've googled just says you can add them as a string array, but doesn't say what the available options are.

有什么不同?可以从目录服务获得的属性?

What are all the different properties that are available from Directory Services?

推荐答案

您可以将有效的LDAP属性的 any 放入 PropertiesToLoad -请参见此处列出所有Active Directory属性-您需要的是每个您感兴趣的属性的 Ldap-Display-Name

You can put any of the valid LDAP attributes into PropertiesToLoad - see a list of all Active Directory attributes here - what you need is the Ldap-Display-Name for each attribute you're interested in.

也: Richard Mueller的网站上有很多有关AD和LDAP的良好信息-包括AD属性的Excel电子表格(以及从Active Directory用户和计算机工具到在各个对话框屏幕上设置的实际AD属性的映射。

Also: Richard Mueller has a site with lots of good info on AD and LDAP - including Excel spreadsheets of the AD attributes (and also a mapping from the Active Directory User & Computer tool to the actual AD attributes being set on those various dialog screens.

这篇关于System.DirectoryServices.DirectorySearcher.PropertiesToLoad中可用的不同属性是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆