UserDataAccountStore UserDataAccountStore UserDataAccountStore UserDataAccountStore UserDataAccountStore Class

Definition

Represents a data store that contains user accounts.

public : sealed class UserDataAccountStore
struct winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStore
public sealed class UserDataAccountStore
Public NotInheritable Class UserDataAccountStore
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Call RequestStoreAsync to get an instance of UserDataAccountStore.

Version history

Windows version SDK version Value added
1607 14393 CreateAccountAsync(String,String)
1607 14393 StoreChanged
1703 15063 CreateAccountAsync(String,String,String)

Methods

CreateAccountAsync(String) CreateAccountAsync(String) CreateAccountAsync(String) CreateAccountAsync(String) CreateAccountAsync(String)

Asynchronously creates a user data account, specifying a displayable user name.

CreateAccountAsync(String, String) CreateAccountAsync(String, String) CreateAccountAsync(String, String) CreateAccountAsync(String, String) CreateAccountAsync(String, String)

Asynchronously creates a user data account, specifying a displayable user name and a GUID that identifies the app in the Microsoft Store.

CreateAccountAsync(String, String, String) CreateAccountAsync(String, String, String) CreateAccountAsync(String, String, String) CreateAccountAsync(String, String, String) CreateAccountAsync(String, String, String)

Asynchronously creates a user data account, specifying a displayable user name, a GUID that identifies the app in the Microsoft Store, and the enterprise identity associated with the user account.

FindAccountsAsync() FindAccountsAsync() FindAccountsAsync() FindAccountsAsync() FindAccountsAsync()

Returns a collection of UserDataAccount objects from the store based on the UserDataAccountStoreAccessType value passed into RequestStoreAsync.

GetAccountAsync(String) GetAccountAsync(String) GetAccountAsync(String) GetAccountAsync(String) GetAccountAsync(String)

Asynchronously gets the specified account.

Events

StoreChanged StoreChanged StoreChanged StoreChanged StoreChanged

Occurs when the UserDataAccountStore changes.