[StructLayout(LayoutKind.Sequential)]
struct SID
{
byte Revision;
byte SubAuthorityCount;
SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
[MarshalAs(UnmanagedType.ByValArray, SizeConst=ANYSIZE_ARRAY)]
uint SubAuthority[ANYSIZE_ARRAY];
}
<StructLayout(LayoutKind.Sequential)> _
Public Structure SID
Public Revision As Byte
Public SubAuthorityCount As Byte
Public IdentifierAuthority As SID_IDENTIFIER_AUTHORITY
<MarshalAs(UnmanagedType.ByValArray, SizeConst:=ANYSIZE_ARRAY)> _
Public SubAuthority(ANYSIZE_ARRAY) As UInt32
End Structure
None.
None.