AccountsSettingsPane.ShowAddAccountForUserAsync(User) 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.
Displays the add accounts screen for the specified user.
public:
static IAsyncAction ^ ShowAddAccountForUserAsync(User ^ user);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncAction ShowAddAccountForUserAsync(User const& user);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction ShowAddAccountForUserAsync(User user);
function showAddAccountForUserAsync(user)
Public Shared Function ShowAddAccountForUserAsync (user As User) As IAsyncAction
Parameters
- user
- User
The user who will add an account.
Returns
Represents the asynchronous action. You usually don't access this IAsyncAction return value directly. That's because you almost always use the language-specific awaitable syntax. In this case, the apparent return value of the method is void.
The asynchronous action completes when the user has dismissed the add accounts screen.
- Attributes
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.0)
|