UserDeviceAssociation.FindUserFromDeviceId(String) Method

Definition

Finds the user associated with a device.

public:
 static User ^ FindUserFromDeviceId(Platform::String ^ deviceId);
 static User FindUserFromDeviceId(winrt::hstring const& deviceId);
public static User FindUserFromDeviceId(string deviceId);
function findUserFromDeviceId(deviceId)
Public Shared Function FindUserFromDeviceId (deviceId As String) As User

Parameters

deviceId
String

Platform::String

winrt::hstring

The Id of the device.

Returns

The user associated with the device.

Applies to