다음을 통해 공유


ConnectingSIDType.PrincipalName Property

The PrincipalName property gets or sets the user principal name (UPN) of the account to use for impersonation.

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

Syntax

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

/** @property */
public void set_PrincipalName (String value)
public function get PrincipalName () : String

public function set PrincipalName (value : String)

Property Value

The PrincipalName property returns a string that contains the UPN of the account to use for impersonation.

Remarks

The PrincipalName property should be set to the UPN for the domain where the user account exists.

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)