_Account.UserName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.