UserDataAccountSystemAccessManager.CreateDeviceAccountAsync Method
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.
Note
This API is no longer supported and should not be called from your code.
Asynchronously creates a device account using the specified DeviceAccountConfiguration.
public:
static IAsyncOperation<Platform::String ^> ^ CreateDeviceAccountAsync(DeviceAccountConfiguration ^ account);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<winrt::hstring> CreateDeviceAccountAsync(DeviceAccountConfiguration const& account);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<string> CreateDeviceAccountAsync(DeviceAccountConfiguration account);
function createDeviceAccountAsync(account)
Public Shared Function CreateDeviceAccountAsync (account As DeviceAccountConfiguration) As IAsyncOperation(Of String)
Parameters
- account
- DeviceAccountConfiguration
The configuration to use when creating the account.
Returns
Returns a string with the newly created device account ID.
- Attributes
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
App capabilities |
userDataAccountsProvider
|