#ifndef _NTSAM_H
// SamQueryInformationUser/SamSetInformationUser types
typedef enum _USER_INFORMATION_CLASS
{
UserGeneralInformation = 1, // q: USER_GENERAL_INFORMATION
UserPreferencesInformation, // q; s: USER_PREFERENCES_INFORMATION
UserLogonInformation, // q: USER_LOGON_INFORMATION
UserLogonHoursInformation, // q; s: USER_LOGON_HOURS_INFORMATION
UserAccountInformation, // q: USER_ACCOUNT_INFORMATION
UserNameInformation, // q; s: USER_NAME_INFORMATION
UserAccountNameInformation, // q; s: USER_ACCOUNT_NAME_INFORMATION
UserFullNameInformation, // q; s: USER_FULL_NAME_INFORMATION
UserPrimaryGroupInformation, // q; s: USER_PRIMARY_GROUP_INFORMATION
UserHomeInformation, // q; s: USER_HOME_INFORMATION // 10
UserScriptInformation, // q; s: USER_SCRIPT_INFORMATION
UserProfileInformation, // q; s: USER_PROFILE_INFORMATION
UserAdminCommentInformation, // q; s: USER_ADMIN_COMMENT_INFORMATION
UserWorkStationsInformation, // q; s: USER_WORKSTATIONS_INFORMATION
UserSetPasswordInformation, // s: USER_SET_PASSWORD_INFORMATION
UserControlInformation, // q; s: USER_CONTROL_INFORMATION
UserExpiresInformation, // q; s: USER_EXPIRES_INFORMATION
UserInternal1Information, // USER_INTERNAL1_INFORMATION
UserInternal2Information, // USER_INTERNAL2_INFORMATION
UserParametersInformation, // q; s: USER_PARAMETERS_INFORMATION // 20
UserAllInformation, // USER_ALL_INFORMATION
UserInternal3Information, // USER_INTERNAL3_INFORMATION
UserInternal4Information, // USER_INTERNAL4_INFORMATION
UserInternal5Information, // USER_INTERNAL5_INFORMATION
UserInternal4InformationNew, // USER_INTERNAL4_INFORMATION_NEW
UserInternal5InformationNew, // USER_INTERNAL5_INFORMATION_NEW
UserInternal6Information, // USER_INTERNAL6_INFORMATION
UserExtendedInformation, // USER_EXTENDED_INFORMATION
UserLogonUIInformation, // USER_LOGON_UI_INFORMATION
UserUnknownTodoInformation,
UserInternal7Information, // USER_INTERNAL7_INFORMATION
UserInternal8Information, // USER_INTERNAL8_INFORMATION
} USER_INFORMATION_CLASS, *PUSER_INFORMATION_CLASS;
View code on GitHub
This type is documented in the [MS-SAMR] specification.