Dela via


ConnectingSID

Topic Last Modified: 2007-10-15

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

Schema Hierarchy

ExchangeImpersonation
  ConnectingSID

Syntax

<ConnectingSID>
   <PrincipalName/>
   <SID/>
   <PrimarySmtpAddress/>
</ConnectingSID>

Type

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.

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/Contact object.

The schema that describes this element is located in the EWS virtual directory of the computer that is running Microsoft Exchange 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

See Also

Other Resources

Server-to-Server Authorization