Jaa


UserDeviceAssociation Class

Definition

Contains methods for querying for an association between a user and a device.

public ref class UserDeviceAssociation abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class UserDeviceAssociation final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class UserDeviceAssociation
Public Class UserDeviceAssociation
Inheritance
Object Platform::Object IInspectable UserDeviceAssociation
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Methods

FindUserFromDeviceId(String)

Finds the user associated with a device.

Events

UserDeviceAssociationChanged

Fires when the user associated with a device changes.

Applies to