UserDataAccountStore.CreateAccountAsync UserDataAccountStore.CreateAccountAsync UserDataAccountStore.CreateAccountAsync UserDataAccountStore.CreateAccountAsync UserDataAccountStore.CreateAccountAsync Method

Definition

Overloads

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.

CreateAccountAsync(String) CreateAccountAsync(String) CreateAccountAsync(String) CreateAccountAsync(String) CreateAccountAsync(String)

Asynchronously creates a user data account, specifying a displayable user name.

public : IAsyncOperation<UserDataAccount> CreateAccountAsync(Platform::String userDisplayName)
IAsyncOperation<UserDataAccount> CreateAccountAsync(winrt::hstring userDisplayName) const;
public IAsyncOperation<UserDataAccount> CreateAccountAsync(String userDisplayName)
Public Function CreateAccountAsync(userDisplayName As String) As IAsyncOperation(Of UserDataAccount)
Windows.ApplicationModel.UserDataAccounts.UserDataAccountStore.createAccountAsync(userDisplayName).done( /* Your success and error handlers */ );

Parameters

userDisplayName
String String String

A string containing the user name that is suitable for display.

Returns

See also

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.

public : IAsyncOperation<UserDataAccount> CreateAccountAsync(Platform::String userDisplayName, Platform::String packageRelativeAppId)
IAsyncOperation<UserDataAccount> CreateAccountAsync(winrt::hstring userDisplayName, winrt::hstring packageRelativeAppId) const;
public IAsyncOperation<UserDataAccount> CreateAccountAsync(String userDisplayName, String packageRelativeAppId)
Public Function CreateAccountAsync(userDisplayName As String, packageRelativeAppId As String) As IAsyncOperation(Of UserDataAccount)
Windows.ApplicationModel.UserDataAccounts.UserDataAccountStore.createAccountAsync(userDisplayName, packageRelativeAppId).done( /* Your success and error handlers */ );

Parameters

userDisplayName
String String String

A string containing the user name that is suitable for display.

packageRelativeAppId
String String String

The GUID that identifies the app in the Microsoft Store.

Returns

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)
See also

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.

public : IAsyncOperation<UserDataAccount> CreateAccountAsync(Platform::String userDisplayName, Platform::String packageRelativeAppId, Platform::String enterpriseId)
IAsyncOperation<UserDataAccount> CreateAccountAsync(winrt::hstring userDisplayName, winrt::hstring packageRelativeAppId, winrt::hstring enterpriseId) const;
public IAsyncOperation<UserDataAccount> CreateAccountAsync(String userDisplayName, String packageRelativeAppId, String enterpriseId)
Public Function CreateAccountAsync(userDisplayName As String, packageRelativeAppId As String, enterpriseId As String) As IAsyncOperation(Of UserDataAccount)
Windows.ApplicationModel.UserDataAccounts.UserDataAccountStore.createAccountAsync(userDisplayName, packageRelativeAppId, enterpriseId).done( /* Your success and error handlers */ );

Parameters

userDisplayName
String String String

A string containing the user name that is suitable for display.

packageRelativeAppId
String String String

The GUID that identifies the app in the Microsoft Store.

enterpriseId
String String String

The enterprise identity associated with the user data account.

Returns

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)
See also