Example #1
0
 public static extern int AllocateAndInitializeSid(ref SID_IDENTIFIER_AUTHORITY pIdentifierAuthority,
                                               byte nSubAuthorityCount, int nSubAuthority0, int nSubAuthority1,
                                               int nSubAuthority2, int nSubAuthority3, int nSubAuthority4,
                                               int nSubAuthority5, int nSubAuthority6, int nSubAuthority7,
                                               ref int lpPSid);
Example #2
0
 public static extern int InitializeSid(IntPtr Sid, ref SID_IDENTIFIER_AUTHORITY pIdentifierAuthority,
                                    byte nSubAuthorityCount);