Share via


PasswordCredential.UserName Property

Definition

Gets or sets the user name of the credential. This value must not be null or empty, otherwise an exception will be thrown.

public string UserName { get; set; }

Property Value

String

The user name of the credential.

Applies to