Aracılığıyla paylaş


User.GetDefault Method

Definition

Gets an object representing the default user account.

public:
 static User ^ GetDefault();
 static User GetDefault();
public static User GetDefault();
function getDefault()
Public Shared Function GetDefault () As User

Returns

A User representing the default user account.

Windows requirements

Device family
Windows 10, version 2104 (introduced in 10.0.20348.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v12.0)

Applies to