title: How to use System.Security.Principal.WindowsIdentity in .NET Core 2.1
body: <p>How can we use <code>WindowsIdentity</code> in .NET Core 2.1? </p>
  
  <p>It was available in 2.0</p>
  
  <p><strong>.NET API Browser</strong></p>
  
  <ul>
  <li><a href="https://docs.microsoft.com/en-us/dotnet/api/?term=WindowsIdentity&amp;view=netcore-2.0" rel="noreferrer">https://docs.microsoft.com/en-us/dotnet/api/?term=WindowsIdentity&amp;view=netcore-2.0</a>
  <code>WindowsIdentity</code> is available</li>
  <li><a href="https://docs.microsoft.com/en-us/dotnet/api/?term=WindowsIdentity&amp;view=netcore-2.1" rel="noreferrer">https://docs.microsoft.com/en-us/dotnet/api/?term=WindowsIdentity&amp;view=netcore-2.1</a>
  <code>WindowsIdentity</code> is not available</li>
  </ul>