Information level 2 accommodates additional information for the UAS database. It is an extension of user_info_1.
struct user_info_2 { unsigned char usri2_name[UNLEN+1]; unsigned char usri2_pad_1; unsigned char usri2_password[ENCRYPTED_PWLEN]; long usri2_password_age; unsigned short usri2_priv; unsigned char LSFAR * LSPTR usri2_home_dir; unsigned char LSFAR * LSPTR usri2_comment; unsigned short usri2_flags; unsigned char LSFAR * LSPTR usri2_script_path; unsigned long usri2_auth_flags; unsigned char LSFAR * LSPTR usri2_full_name; unsigned char LSFAR * LSPTR usri2_usr_comment; unsigned char LSFAR * LSPTR usri2_parms; unsigned char LSFAR * LSPTR usri2_workstations; long usri2_last_logon; long usri2_last_logoff; long usri2_acct_expires; unsigned long usri2_max_storage; unsigned short usri2_units_per_week; unsigned char LSFAR * LSPTR usri2_logon_hours; unsigned short usri2_bad_pw_count; unsigned short usri2_num_logons; unsigned char LSFAR * LSPTR usri2_logon_server; unsigned short usri2_country_code; unsigned short usri2_code_page; };
where:
16DF.02AC.7DE9
Note: A null pointer in this field for a NetUserAdd call permits access at all times. A null pointer in this field for a NetUserSetInfo call means that no change is made.