Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/320.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 连接到Active Directory以获取可用的会议室_C#_Active Directory - Fatal编程技术网

C# 连接到Active Directory以获取可用的会议室

C# 连接到Active Directory以获取可用的会议室,c#,active-directory,C#,Active Directory,我有一个组织active directory,其中包含用户数据等。它还包含组织中存在的会议室的数据 解决方案中的代码已经使用System.DirectoryServices.AccountManagement命名空间来获取用户信息,等等,它使用PrincipalContext System.DirectoryServices.AccountManagement命名空间中是否有任何函数或属性使我能够获取组织的Active Directory中存在的所有会议室 Active Directory位于与

我有一个组织active directory,其中包含用户数据等。它还包含组织中存在的会议室的数据

解决方案中的代码已经使用
System.DirectoryServices.AccountManagement
命名空间来获取用户信息,等等,它使用
PrincipalContext

System.DirectoryServices.AccountManagement
命名空间中是否有任何函数或属性使我能够获取组织的Active Directory中存在的所有会议室

Active Directory位于与承载C#应用程序的服务器不同的服务器上


欢迎编辑,如果问题不够清楚,欢迎反馈

您的“会议室”存储为什么?AD有一个清晰的列表,列出了它支持的可能对象类型(如用户、组、容器、计算机等)-这些“会议室”是什么?通常这些数据实际上存储在Exchange中。Active Directory将有基本的帐户信息,但它只是作为交换跟踪哪些资源的指示;Exchange保留实际的日历。@Joel Coehoorn因此,如果active directory作为交换要跟踪的资源的指示存在,,,是否可以使用我在问题中提到的名称空间从指示交换的active directory中读取该资源的数据??您的“会议室”存储为什么?AD有一个清晰的列表,列出了它支持的可能对象类型(如用户、组、容器、计算机等)-这些“会议室”是什么?通常这些数据实际上存储在Exchange中。Active Directory将有基本的帐户信息,但它只是作为交换跟踪哪些资源的指示;Exchange保留实际的日历。@Joel Coehoorn因此,如果active directory作为交换要跟踪的资源的指示存在,,,是否可以使用我在问题中提到的名称空间从指示交换的active directory读取该资源的数据??