Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

dotnet core 3.1 get the user that just logged in

private Task<ApplicationUser> GetCurrentUserAsync() => _userManager.GetUserAsync(HttpContext.User);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dotnet #core #user #logged
ADD COMMENT
Topic
Name
7+4 =