Edit

Share via


_Account.UserName Property

Definition

Returns a String (string in C#) representing the user name for the Account. Read-only.

public:
 property System::String ^ UserName { System::String ^ get(); };
public string UserName { get; }
Public ReadOnly Property UserName As String

Property Value

Remarks

The purpose of SmtpAddress and UserName is to provide an account-based context to determine identity.

If the account does not have a user name defined, UserName returns an empty string.

Applies to