<div class="content"><p align="right"><a href="https://msdn.microsoft.com/en-us/library/2a12e289-7904-4ecb-9d83-6732200230c0" data-linktype="external">msdn link</a></p><p>The <b>NETLOGON_VALIDATION_SAM_INFO2 </b>structure is an
extension to <b>NETLOGON_VALIDATION_SAM_INFO</b>, as specified in section <a href="142a277f-e161-45ac-8b95-b94bb169b5da" data-linktype="relative-path">2.2.1.4.11</a>, with support
for storing extra <a href="b5e7d25a-40b2-41c8-9611-98f53358af66#gt_83f2020d-0804-4840-a5ac-e06439d50f8d" data-linktype="relative-path">SIDs</a>.</p><p>All fields of this structure, except the fields detailed
following the structure definition, have the same meaning as the identically
named fields in the KERB_VALIDATION_INFO structure as specified in <a href="../ms-pac/166d8064-c863-41e1-9c23-edaaa5f36962" data-linktype="relative-path">[MS-PAC]</a>
section <a href="../ms-pac/69e86ccc-85e3-41b9-b514-7d969cd0ed73" data-linktype="relative-path">2.5</a>.
Additionally, fields of this structure that are defined as OLD_LARGE_INTEGER
are 64-bit timestamps equivalent to the identically named fields in the
KERB_VALIDATION_INFO structure of <b>FILETIME</b> type (<a href="../ms-dtyp/cca27429-5689-4a16-b2b4-9325d93e4ba2" data-linktype="relative-path">[MS-DTYP]</a>
section <a href="../ms-dtyp/2c57429b-fdd4-488f-b5fc-9e4cf020fcdf" data-linktype="relative-path">2.3.3</a>).</p><dl>
<dd>
<div><pre> typedef struct _NETLOGON_VALIDATION_SAM_INFO2 {
   OLD_LARGE_INTEGER LogonTime;
   OLD_LARGE_INTEGER LogoffTime;
   OLD_LARGE_INTEGER KickOffTime;
   OLD_LARGE_INTEGER PasswordLastSet;
   OLD_LARGE_INTEGER PasswordCanChange;
   OLD_LARGE_INTEGER PasswordMustChange;
   RPC_UNICODE_STRING EffectiveName;
   RPC_UNICODE_STRING FullName;
   RPC_UNICODE_STRING LogonScript;
   RPC_UNICODE_STRING ProfilePath;
   RPC_UNICODE_STRING HomeDirectory;
   RPC_UNICODE_STRING HomeDirectoryDrive;
   USHORT LogonCount;
   USHORT BadPasswordCount;
   ULONG UserId;
   ULONG PrimaryGroupId;
   ULONG GroupCount;
   [size_is(GroupCount)] PGROUP_MEMBERSHIP GroupIds;
   ULONG UserFlags;
   USER_SESSION_KEY UserSessionKey;
   RPC_UNICODE_STRING LogonServer;
   RPC_UNICODE_STRING LogonDomainName;
   PRPC_SID LogonDomainId;
   ULONG ExpansionRoom[10];
   ULONG SidCount;
   [size_is(SidCount)] PNETLOGON_SID_AND_ATTRIBUTES ExtraSids;
 } NETLOGON_VALIDATION_SAM_INFO2,
  *PNETLOGON_VALIDATION_SAM_INFO2;
</pre></div>
</dd></dl><p><b>LogonServer:</b> An <b>RPC_UNICODE_STRING</b>
structure that contains the <a href="b5e7d25a-40b2-41c8-9611-98f53358af66#gt_0334e0bd-2755-42f6-aeff-2d4a22bf4abf" data-linktype="relative-path">NetBIOS
name</a> of the server that populates this structure.</p><p><b>ExpansionRoom:</b> A ten-element array of unsigned
32-bit integers. This member has a function similar to that of dummy fields, as
described in section <a href="bbc95890-215e-49a9-8bb8-92e723548046" data-linktype="relative-path">1.3.8.1.2</a>.
Each element of the array MUST be zero when sent and MUST be ignored on
receipt.</p></div>