Sponsors

AllocateAndInitializeSid

Function name: AllocateAndInitializeSid

Defined in : advapi32

Requirements : Windows NT 3.1 or later; Win9x/ME: Not supported

Declaration:

Declare Function AllocateAndInitializeSid Lib "Advapi32" (pIdentifierAuthority As SID_IDENTIFIER_AUTHORITY, ByVal nSubAuthorityCount As Byte, ByVal nSubAuthority0 As Long, ByVal nSubAuthority1 As Long, ByVal nSubAuthority2 As Long, ByVal nSubAuthority3 As Long, ByVal nSubAuthority4 As Long, ByVal nSubAuthority5 As Long, ByVal nSubAuthority6 As Long, ByVal nSubAuthority7 As Long, lpPSid As Long) As Long

Parameters:

Returns:

Related functions:

Examples:

Sorry, this function has no examples yet.

Security

Categories