获取Exchange通讯组列表的最佳方法是什么? [英] What is the best way to get a list of Exchange Distribution Lists?

查看:102
本文介绍了获取Exchange通讯组列表的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我需要创建网络上所有交换分发列表的列表.我需要将列表中的项目插入到窗体上的列表框控件中,以便我的用户可以选择他们希望我们的IT部门向其添加人员的列表.

我遇到的问题是,当我使用LDAP来使用LDAP://OU = groups查询AD的组时,我得到了组,但是它们与交换中的分发列表并不相似.

LDAP是执行此操作的正确方法吗?如果没有,我应该使用什么技术?

我将不胜感激.即使您只告诉我要去哪里看看.

预先谢谢您.

Hi Everyone

I have a need to create a list of all of the exchange distribution lists on our network. I need to insert the items in the list into a list box control on a form, so that my users can select the lists that they want our IT department to add a person to.

The problem I am having is that when I use LDAP to query AD for the groups using LDAP://OU=groups, I get groups, but they don''t resemble the distribution list in exchange.

Is LDAP the correct method to use to do this? If not, what technology should I use?

I would appreciate any help I can get with this. Even if you only tell me where to look.

Thank you in advance.

推荐答案

AD配置可能有所不同.我的发行列表可以通过
访问
AD configurations can differ a bit. MY distro lists are accessible via

LDAP://OU=Distribution Lists,OU=LocalOU,OU=NotSoLocalOU,DC=Some,DC=Thing,DC=Else,DC=Here



但是,不像"是什么意思?完全错误,或者不是您认为的格式?


但是,如果您的组和通讯组列表都位于同一个OU中,则可以使用"groupType"属性来区分它们.

如果groupType为 2147483648(0x80000000)(根据MS)或 -2147483646 (根据我的AD),则它是一个安全组.其他任何数字(1、2、4、8、16或32)都使其成为发行列表.



But what do you mean by "don''t resemble"? Completely wrong, or not in the format you think they should be in?


Howveer, IF your groups and distribution lists are all sitting in the same OU, you can distinguish them using the "groupType" property.

If the groupType is 2147483648 (0x80000000) (according to MS) or -2147483646 (according to my AD), it is a security group. Any other number (1,2,4,8,16, or 32) makes it a distro list.


这篇关于获取Exchange通讯组列表的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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