Asp.net Core Get User by User Id
<p>Using Asp.net Core Identity and entity framework core, how can I get an asp.net user object by it's UserId property?  I know it's possible to get the current logged in user from the HttpContext.User object using:</p>

<pre><code>UserManager.GetUserAsync(HttpContext.User)
</code></pre>

<p>However when an admin is logged in, I want them to be able to access/modify any user's data in order to update user Emails and PhoneNumbers, which by default are part of the asp.net user object.</p>

<p>Ideally I'd like to be able to do something like:</p>

<pre><code>var userRecord = _userManager.GetUserById(model.userId);
//update user record
userRecord.Email = model.Email;
userRecord.PhoneNumber = model.PhoneNumber;

var newRecord = await _userManager.UpdateAsync(userRecord);
</code></pre>

<p>but obvisously, the UserManager.GetUserById() method does not currently exist.</p>