2.2.6.28 USER_INFORMATION_CLASS

The USER_INFORMATION_CLASS enumeration indicates how to interpret the Buffer parameter for SamrSetInformationUser, SamrQueryInformationUser, SamrSetInformationUser2, and SamrQueryInformationUser2. For a list of associated structures, see section 2.2.6.29.

 typedef  enum _USER_INFORMATION_CLASS
 {
   UserGeneralInformation = 1,
   UserPreferencesInformation = 2,
   UserLogonInformation = 3,
   UserLogonHoursInformation = 4,
   UserAccountInformation = 5,
   UserNameInformation = 6,
   UserAccountNameInformation = 7,
   UserFullNameInformation = 8,
   UserPrimaryGroupInformation = 9,
   UserHomeInformation = 10,
   UserScriptInformation = 11,
   UserProfileInformation = 12,
   UserAdminCommentInformation = 13,
   UserWorkStationsInformation = 14,
   UserControlInformation = 16,
   UserExpiresInformation = 17,
   UserInternal1Information = 18,
   UserParametersInformation = 20,
   UserAllInformation = 21,
   UserInternal4Information = 23,
   UserInternal5Information = 24,
   UserInternal4InformationNew = 25,
   UserInternal5InformationNew = 26
   UserInternal7Information = 31,
   UserInternal8Information = 32
 } USER_INFORMATION_CLASS,
  *PUSER_INFORMATION_CLASS;

UserGeneralInformation:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_GENERAL_INFORMATION structure (see section 2.2.6.7).

UserPreferencesInformation:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_PREFERENCES_INFORMATION structure (see section 2.2.6.8).

UserLogonInformation:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_LOGON_INFORMATION structure (see section 2.2.6.10).

UserLogonHoursInformation:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_LOGON_HOURS_INFORMATION structure (see section 2.2.6.20).

UserAccountInformation:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_ACCOUNT_INFORMATION structure (see section 2.2.6.11).

UserNameInformation:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_NAME_INFORMATION structure (see section 2.2.6.14).

UserAccountNameInformation:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_A_NAME_INFORMATION structure (see section 2.2.6.12).

UserFullNameInformation:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_F_NAME_INFORMATION structure (see section 2.2.6.13).

UserPrimaryGroupInformation:  Indicates the Buffer parameter is to be interpreted as a USER_PRIMARY_GROUP_INFORMATION structure (see section 2.2.6.2).

UserHomeInformation:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_HOME_INFORMATION structure (see section 2.2.6.15).

UserScriptInformation:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_SCRIPT_INFORMATION structure (see section 2.2.6.16).

UserProfileInformation:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_PROFILE_INFORMATION structure (see section 2.2.6.17).

UserAdminCommentInformation:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_ADMIN_COMMENT_INFORMATION structure (see section 2.2.6.18).

UserWorkStationsInformation:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_WORKSTATIONS_INFORMATION structure (see section 2.2.6.19).

UserControlInformation:  Indicates the Buffer parameter is to be interpreted as a USER_CONTROL_INFORMATION structure (see section 2.2.6.3).

UserExpiresInformation:  Indicates the Buffer parameter is to be interpreted as a USER_EXPIRES_INFORMATION structure (see section 2.2.6.4).

UserInternal1Information:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_INTERNAL1_INFORMATION structure (see section 2.2.6.23).

UserParametersInformation:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_PARAMETERS_INFORMATION structure (see section 2.2.6.9).

UserAllInformation:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_ALL_INFORMATION structure (see section 2.2.6.6).

UserInternal4Information:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_INTERNAL4_INFORMATION structure (see section 2.2.6.24).

UserInternal5Information:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_INTERNAL5_INFORMATION structure (see section 2.2.6.26).

UserInternal4InformationNew:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_INTERNAL4_INFORMATION_NEW structure (see section 2.2.6.25).

UserInternal5InformationNew:  Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_INTERNAL5_INFORMATION_NEW structure (see section 2.2.6.27).

UserInternal7Information: Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_INTERNAL7_INFORMATION structure (see section section 2.2.6.30).

UserInternal8Information: Indicates the Buffer parameter is to be interpreted as a SAMPR_USER_INTERNAL8_INFORMATION structure (see section section 2.2.6.31).