<div class="content"><p align="right"><a href="https://msdn.microsoft.com/en-us/library/29b54f06-8961-43fd-8ecb-4b2a8020d474" data-linktype="external">msdn link</a></p><p>The SAMPR_USER_LOGON_INFORMATION structure contains user fields.</p><dl>
<dd>
<div><pre> typedef struct _SAMPR_USER_LOGON_INFORMATION {
   RPC_UNICODE_STRING UserName;
   RPC_UNICODE_STRING FullName;
   unsigned long UserId;
   unsigned long PrimaryGroupId;
   RPC_UNICODE_STRING HomeDirectory;
   RPC_UNICODE_STRING HomeDirectoryDrive;
   RPC_UNICODE_STRING ScriptPath;
   RPC_UNICODE_STRING ProfilePath;
   RPC_UNICODE_STRING WorkStations;
   OLD_LARGE_INTEGER LastLogon;
   OLD_LARGE_INTEGER LastLogoff;
   OLD_LARGE_INTEGER PasswordLastSet;
   OLD_LARGE_INTEGER PasswordCanChange;
   OLD_LARGE_INTEGER PasswordMustChange;
   SAMPR_LOGON_HOURS LogonHours;
   unsigned short BadPasswordCount;
   unsigned short LogonCount;
   unsigned long UserAccountControl;
 } SAMPR_USER_LOGON_INFORMATION,
  *PSAMPR_USER_LOGON_INFORMATION;
</pre></div>
</dd></dl><p>For information on each field, see section <a href="899d68a9-8145-4334-a52f-2fbd92bec94f" data-linktype="relative-path">2.2.6.1</a>.</p></div>