gpt4 book ai didi

active-directory - Active Directory 用户类的电子邮件地址属性与代理地址属性之间的差异

转载 作者:行者123 更新时间:2023-12-01 01:14:07 27 4
gpt4 key购买 nike

我使用 Proxy-Address 属性作为确定用户电子邮件地址的主要方法(我只关心以“SMTP:”或“smtp:”为前缀的地址,此外,我使用以大写字母为前缀的地址SMTP 来确定主地址 - 这不是 100% 可靠,但它是现有系统的限制)。

我被告知此属性 (Ldap-Display-Name = mail, CN = E-mail-Addresses) 可用作后备,以确定用户的电子邮件地址(如果在 Proxy-Address 下找不到 smtp 地址属性),但我找不到此属性的多个地址的示例。

MSDN 文档指出 E-mail-Address 属性应该是 "the list of email addresses for a contact" .在我发现的所有示例中,只有一个地址并且它没有以“SMTP:”或“smtp:”为前缀,所以我不确定如何确定主要电子邮件地址,除非现实是 mail 属性应该只能是一个地址?

最佳答案

您可能会发现以下内容很有用,来自 http://blogs.technet.com/b/exchange/archive/2005/01/10/350132.aspx

E-Mail Address Attributes

Exchange stores and uses information about the e-mail addresses of a recipient in the following attributes: proxyAddresses

This is the main attribute where e-mail address information is kept. When you open the properties of a recipient in Outlook and look at the "E-mail Addresses" tab, you are looking at this attribute. This is a multi-valued string containing all the addresses that represent the recipient. Each value must have the following format:

  type:address

For example:

  SMTP:nospam@online.microsoft.com

When the type is in uppercase letters, the address is considered to be the primary address of that type and it is used as the default reply address of that recipient. When the type is in lowercase letters, the address is considered a secondary address and is used to resolve addresses during e-mail delivery, allowing the same recipient to receive e-mails directed to different e-mail addresses.

关于active-directory - Active Directory 用户类的电子邮件地址属性与代理地址属性之间的差异,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13079487/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com