You can get the current user's name using HttpContext.User.Identity.Name . You can access the HttpContext using IHttpContextAccessor .
確定! 回上一頁