UserIdentity.SafeCustomerId | safeCustomerId property

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.

Syntax


var safeCustomerId = userIdentity.safeCustomerId;

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

An obfuscated customer ID specific to the calling application.

Remarks

Windows Phone 8

This API is not implemented and will throw an exception if called. See Windows Phone Runtime API.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8 [not implemented, see Remarks]

Namespace

Windows.Security.Authentication.OnlineId
Windows::Security::Authentication::OnlineId [C++]

Metadata

Windows.winmd

See also

UserIdentity

 

 

Show:
© 2014 Microsoft