[DllImport("ntdll.dll", SetLastError = true)] public static extern int RtlInitializeSid( out SID Sid, ref SID_IDENTIFIER_AUTHORITY IdentifierAuthority, byte SubAuthorityCount );
Microsoft documentation: Link
Last updated 1 year ago