Delen via


User.GetFromId(String) Method

Definition

Gets a user with a given Id.

public:
 static User ^ GetFromId(Platform::String ^ nonRoamableId);
 static User GetFromId(winrt::hstring const& nonRoamableId);
public static User GetFromId(string nonRoamableId);
function getFromId(nonRoamableId)
Public Shared Function GetFromId (nonRoamableId As String) As User

Parameters

nonRoamableId
String

Platform::String

winrt::hstring

The Id of the user to get.

Returns

The user with the given Id.

Applies to