AdvertisingManager.GetForUser(User) Method
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 the advertising ID for the specified user.
public:
static AdvertisingManagerForUser ^ GetForUser(User ^ user);
static AdvertisingManagerForUser GetForUser(User const& user);
public static AdvertisingManagerForUser GetForUser(User user);
function getForUser(user)
Public Shared Function GetForUser (user As User) As AdvertisingManagerForUser
Parameters
- user
- User
The user to get the advertising ID for.
Returns
An instance of AdvertisingManagerForUser that associates a user ID with their advertising ID.
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|