PasswordCredential.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.
Gets or sets the user name of the credential. This value must not be null or empty, otherwise an exception will be thrown.
public:
property Platform::String ^ UserName { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring UserName();
void UserName(winrt::hstring userName);
public string UserName { get; set; }
var string = passwordCredential.userName;
passwordCredential.userName = string;
Public Property UserName As String
Property Value
The user name of the credential.