How do we get the current user, within an secure ApiController action, without passing the userName or userId as a parameter?
We assume that this is available, beca
In .Net Core use User.Identity.Name to get the Name claim of the user.
User.Identity.Name