Search code examples
c#ef-code-firstaspnetboilerplateasp.net-boilerplate

Asp.Net Boilerplate,, How to Get current Login User?


I want to get the user data which is currently logged in,, ?? I have to send current user ID to a table in database How to do this??


Solution

  • Here is the answer to the Question

    User.Identity.GetUserId();