共用方式為


ConnectingSID

Last modified: May 05, 2009

Applies to: Exchange Server 2007 | Exchange Server 2010

The ConnectingSID element represents an account to impersonate when you are using the ExchangeImpersonation SOAP header.

ExchangeImpersonation
  ConnectingSID

<ConnectingSID>
   <PrincipalName/>
</ConnectingSID>

<ConnectingSID>
   <SID/>
</ConnectingSID>

<ConnectingSID>
   <PrimarySmtpAddress/>
</ConnectingSID>

<ConnectingSID>
   <SmtpAddress/>
</ConnectingSID>

ConnectingSIDType

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element

Description

PrincipalName

Represents the user principal name (UPN) of the account to use for impersonation. This should be the UPN for the domain where the user account exists.

SID

Represents the security descriptor definition language (SDDL) form of the security identifier (SID) for the account to use for impersonation.

PrimarySmtpAddress

Represents the primary Simple Mail Transfer Protocol (SMTP) address of the account to use for Exchange impersonation. If the primary SMTP address is supplied, it will cost an extra Active Directory directory service lookup in order to obtain the SID of the user. We recommend that you use the SID or UPN if they are available.

SmtpAddress

Represents the Simple Mail Transfer Protocol (SMTP) address of the account to use for Exchange Impersonation. If the SMTP address is supplied, it will cost an extra Active Directory lookup in order to obtain the SID of the user. We recommend that you use the SID or UPN if they are available.

Parent Elements

Element

Description

ExchangeImpersonation

Used in the SOAP header of a request. When this element is present, the caller is trying to impersonate the account that is contained within the ExchangeImpersonation element.

The following is the XPath expression to this element:

/ExchangeImpersonation

Remarks

The calling account must have the ms-exch-impersonation right on the Client Access server and the ms-exch-MayImpersonate right on either the mailbox database that contains the mailbox to impersonate or the Active Directory user or contact object.

The schema that describes this element is located in the EWS virtual directory of the computer that is running MicrosoftExchange Server 2007 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.xsd

Can be empty

False