UserIdentity.SafeCustomerId Property
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.
Gets an obfuscated customer ID specific to the calling application. This ID allows your application to identify the user across sessions but cannot be used to share data between separate applications since each application will receive a distinct SafeCustomerId value for the same Microsoft account.
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:
property Platform::String ^ SafeCustomerId { Platform::String ^ get(); };
winrt::hstring SafeCustomerId();
public string SafeCustomerId { get; }
var string = userIdentity.safeCustomerId;
Public ReadOnly Property SafeCustomerId As String
Property Value
An obfuscated customer ID specific to the calling application.