Dela via


KnownUserProperties.AccountName Property

Definition

Gets the user's account name.

public:
 static property Platform::String ^ AccountName { Platform::String ^ get(); };
static winrt::hstring AccountName();
public static string AccountName { get; }
var string = KnownUserProperties.accountName;
Public Shared ReadOnly Property AccountName As String

Property Value

String

Platform::String

winrt::hstring

The user's account name.

Applies to