UserIdentity.Id UserIdentity.Id UserIdentity.Id UserIdentity.Id UserIdentity.Id Property

Definition

Gets the user's unique Microsoft account identifier. This value is available only to Microsoft application partners.

Note

If you are developing for Windows 10 or greater, use the Windows.Security.Authentication.Web.Core APIs instead. For more information, see Web account manager.

public : Platform::String Id { get; }
winrt::hstring Id();
public string Id { get; }
Public ReadOnly Property Id As string
var string = userIdentity.id;

Property Value

string string string

The user's unique Microsoft account identifier.