UserDataAccountSystemAccessManager 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 the ability to display the system UI for managing sync relationships.
public ref class UserDataAccountSystemAccessManager 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 UserDataAccountSystemAccessManager 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 UserDataAccountSystemAccessManager
Public Class UserDataAccountSystemAccessManager
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
App capabilities |
userDataAccountsProvider
|
Remarks
This is a static class.
Version history
Windows version | SDK version | Value added |
---|---|---|
1607 | 14393 | CreateDeviceAccountAsync |
1607 | 14393 | DeleteDeviceAccountAsync |
1607 | 14393 | GetDeviceAccountConfigurationAsync |
1607 | 14393 | SuppressLocalAccountWithAccountAsync |
Methods
AddAndShowDeviceAccountsAsync(IIterable<DeviceAccountConfiguration>) |
Asynchronously displays the system UI to manage the sync relationships for the specified accounts. |
CreateDeviceAccountAsync(DeviceAccountConfiguration) |
Note This API is no longer supported and should not be called from your code. Asynchronously creates a device account using the specified DeviceAccountConfiguration. |
DeleteDeviceAccountAsync(String) |
Note This API is no longer supported and should not be called from your code. Asynchronously deletes the specified device account. |
GetDeviceAccountConfigurationAsync(String) |
Note This API is no longer supported and should not be called from your code. Asynchronously gets the DeviceAccountConfiguration for the specified device account. |
SuppressLocalAccountWithAccountAsync(String) |
Asynchronously, and temporarily, replaces the default local account by using the specified account. |