UserDataAccountStore UserDataAccountStore UserDataAccountStore UserDataAccountStore UserDataAccountStore Class

Definition

Represents a data store that contains user accounts.

public : sealed class UserDataAccountStore : IUserDataAccountStore, IUserDataAccountStore2, IUserDataAccountStore3
struct winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStore : IUserDataAccountStore, IUserDataAccountStore2, IUserDataAccountStore3
public sealed class UserDataAccountStore : IUserDataAccountStore, IUserDataAccountStore2, IUserDataAccountStore3
Public NotInheritable Class UserDataAccountStore Implements IUserDataAccountStore, IUserDataAccountStore2, IUserDataAccountStore3
// 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.

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.