Share via


CredentialPickerResults.CredentialUserName Property

Definition

Gets the user name of the unpacked credential.

public:
 property Platform::String ^ CredentialUserName { Platform::String ^ get(); };
winrt::hstring CredentialUserName();
public string CredentialUserName { get; }
var string = credentialPickerResults.credentialUserName;
Public ReadOnly Property CredentialUserName As String

Property Value

String

Platform::String

winrt::hstring

The user name of the credential used. If the user name is not available, an empty string is returned.

Applies to