UserDataAccountManager Class
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.
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
- 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. |