<PackageReference Include="System.Security.Principal.Windows" Version="4.4.0" />

WellKnownSidType

public enum WellKnownSidType

BatchSid = 10

NullSid = 0

ProxySid = 14

SelfSid = 16