PrimarySmtpAddressPrimarySmtpAddress

PrimarySmtpAddress元素表示要用于服务器到服务器授权或代理访问的帐户的主要简单邮件传输协议(SMTP)地址。The PrimarySmtpAddress element represents the primary Simple Mail Transfer Protocol (SMTP) address of an account to be used for server-to-server authorization or delegate access.

<PrimarySmtpAddress/>

PrimarySmtpAddressTypePrimarySmtpAddressType

属性和元素Attributes and elements

下面各部分介绍了属性、子元素和父元素。The following sections describe attributes, child elements, and parent elements.

AttributesAttributes

无。None.

子元素Child elements

无。None.

父元素Parent elements

元素Element 说明Description
ConnectingSIDConnectingSID
表示在使用 ExchangeImpersonation SOAP 标头时要模拟的帐户。Represents an account to impersonate when you are using the ExchangeImpersonation SOAP header.
下面是此元素的 XPath 表达式: The following is the XPath expression to this element:
/ExchangeImpersonation/ConnectingSID
SerializedSecurityContextSerializedSecurityContext
在服务器到服务器身份验证中用于令牌序列化的 SOAP 标头中使用。Used in the SOAP header for token serialization in server- to-server authentication.
UserIdUserId
标识代理用户或具有文件夹访问权限的用户。Identifies a delegate user or a user who has folder access permissions.

文本值Text value

需要一个代表 SMTP 地址的文本值。A text value that represents an SMTP address is required.

备注Remarks

Exchange Web 服务要求邮箱由邮箱的主 SMTP 地址标识。Exchange Web Services requires that mailboxes be identified by the primary SMTP address of the mailbox. 不接受代理或备选地址。Proxy or alternative addresses are not accepted.

描述此元素的架构位于运行 Microsoft Exchange Server 2010 且安装了客户端访问服务器角色的计算机的 EWS 虚拟目录中。The schema that describes this element is located in the EWS virtual directory of the computer that is running Microsoft Exchange Server 2010 that has the Client Access server role installed.

元素信息Element information

命名空间Namespace
https://schemas.microsoft.com/exchange/services/2006/types
架构名称Schema Name
类型架构Types schema
验证文件Validation File
Types.xsdTypes.xsd
可以为空Can be Empty
FalseFalse

另请参阅See also

EWS 中的服务器到服务器授权Server-to-server authorization in EWS

使用代理访问Working with Delegate Access