ConnectingSIDType.PrimarySmtpAddress Property

The PrimarySmtpAddress property gets or sets the primary SMTP address of the account to use for Exchange impersonation.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)

Syntax

'Declaration
Public Property PrimarySmtpAddress As String
public string PrimarySmtpAddress { get; set; }
public:
property String^ PrimarySmtpAddress {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_PrimarySmtpAddress ()

/** @property */
public void set_PrimarySmtpAddress (String value)
public function get PrimarySmtpAddress () : String

public function set PrimarySmtpAddress (value : String)

Property Value

The PrimarySmtpAddress property returns a string that contains the primary SMTP address of the account to use for impersonation.

Remarks

If you specify the PrimarySmtpAddress property, the server will make an additional Active Directory directory service lookup to obtain the security identifier (SID) of the user. If you can, you should set the SID or PrincipalName property instead.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)