RtlAllocateAndInitializeSid function (ntifs.h)

The RtlAllocateAndInitializeSid routine is reserved for system use. See RtlCopySid and RtlInitializeSid.

Syntax

NTSYSAPI NTSTATUS RtlAllocateAndInitializeSid(
  PSID_IDENTIFIER_AUTHORITY IdentifierAuthority,
  UCHAR                     SubAuthorityCount,
  ULONG                     SubAuthority0,
  ULONG                     SubAuthority1,
  ULONG                     SubAuthority2,
  ULONG                     SubAuthority3,
  ULONG                     SubAuthority4,
  ULONG                     SubAuthority5,
  ULONG                     SubAuthority6,
  ULONG                     SubAuthority7,
  PSID                      *Sid
);

Parameters

IdentifierAuthority

Reserved.

SubAuthorityCount

Reserved.

SubAuthority0

Reserved.

SubAuthority1

Reserved.

SubAuthority2

Reserved.

SubAuthority3

Reserved.

SubAuthority4

Reserved.

SubAuthority5

Reserved.

SubAuthority6

Reserved.

SubAuthority7

Reserved.

Sid

Reserved.

Return value

Reserved.

Requirements

Requirement Value
Target Platform Windows
Header ntifs.h (include Ntifs.h)