Dotnet core api, get the user_id value?

Drawing a little blank on this one… I need to get the user_id field from the auth’d user on a dotnet core api to perform some local logic on the api call… how do I retrieve that value?

I had wrong assumed it was User.Identity.Name I am using this as a start point to test a few things… auth0 github example