title: How to get the current logged in user name in startup.cs of asp.net core?
body: <p>I need to get the current logged in user name in startup.cs (MVC .NET CORE)</p>
  
  <p>Please let me know if you have any solutions for the same..</p>
  
  <p>Thanks in advance!</p>