-api-id | -api-type |
---|---|
M:Windows.System.UserPicker.PickSingleUserAsync |
winrt method |
Displays a dialog for the user to pick a user account. The selected account is signed in, paired with the IGameController that selected it, and becomes obtainable using the User class. This method is only supported for multi-user devices and apps, and will throw an exception if called from a single user device or app.
When this method completes, it returns the selected user. If no user was selected, it returns null instead.