<PackageReference Include="System.Security.Principal.Windows" Version="5.0.0-preview.7.20364.11" />

IdentityReference

public abstract class IdentityReference
namespace System.Security.Principal { public abstract class IdentityReference { public abstract string Value { get; } internal IdentityReference() { } public abstract override bool Equals(object o); public abstract override int GetHashCode(); public abstract bool IsValidTargetType(Type targetType); public static bool operator ==(IdentityReference left, IdentityReference right) { throw new PlatformNotSupportedException(); } public static bool operator !=(IdentityReference left, IdentityReference right) { throw new PlatformNotSupportedException(); } public abstract override string ToString(); public abstract IdentityReference Translate(Type targetType); } }