Share via


KnownUserProperties.PrincipalName Property

Definition

Gets the user's principal name.

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

Property Value

String

Platform::String

winrt::hstring

The user's principal name.

Applies to