User.GetDefault Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
|