AdvertisingManagerForUser AdvertisingManagerForUser AdvertisingManagerForUser AdvertisingManagerForUser Class

Definition

Associates a user with an advertising ID.

public : sealed class AdvertisingManagerForUser : IAdvertisingManagerForUserpublic sealed class AdvertisingManagerForUser : IAdvertisingManagerForUserPublic NotInheritable Class AdvertisingManagerForUser Implements IAdvertisingManagerForUser// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

An instance of this class is returned by the AdvertisingManager.GetForUser method.

Properties

AdvertisingId AdvertisingId AdvertisingId AdvertisingId

Gets a unique ID used to provide more relevant advertising to a user.

public : PlatForm::String AdvertisingId { get; }public string AdvertisingId { get; }Public ReadOnly Property AdvertisingId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The advertising ID is represented as an alphanumeric string. When the advertising ID feature is turned off, this is an empty string.

See Also

User User User User

Gets the user who is associated with the advertising ID.

public : User User { get; }public User User { get; }Public ReadOnly Property User As User// You can use this property in JavaScript.
Value
User User User User

The user who is associated with the advertising ID.

See Also