title: .Net Core 2.2 - Active directory: get user name on javascript
body: <p>I'm currently using a .Net Core 2.2 WebApp with React + Redux... when I host the project on the IIS and the users open the main page everything works fine, the page request the user credentials...</p>
  
  <p>But, how I can get the user name of the person that login into the page using Javascript?<a href="https://i.stack.imgur.com/WO56F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WO56F.png" alt="enter code here"></a></p>