Share via


UserDataAccountManager Class

Definition

Provides APIs to interact with the user’s data accounts including those implemented by the operating system.

public ref class UserDataAccountManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class UserDataAccountManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class UserDataAccountManager
Public Class UserDataAccountManager
Inheritance
Object Platform::Object IInspectable UserDataAccountManager
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Call static methods to display UI so that the user can perform tasks including adding and deleting accounts.

Version history

Windows version SDK version Value added
1607 14393 GetForUser

Methods

GetForUser(User)

Gets the UserDataAccountManagerForUser object for the specified user.

RequestStoreAsync(UserDataAccountStoreAccessType)

Asynchronously returns the UserDataAccountStore from the system.

ShowAccountErrorResolverAsync(String)

This method shows the resolve message for an account error.

ShowAccountSettingsAsync(String)

This method shows the account settings.

ShowAddAccountAsync(UserDataAccountContentKinds)

Shows the add account UI.

Applies to

See also