#[repr(C)]
pub struct USER_INFO_2 {
Show 24 fields pub usri2_name: PWSTR, pub usri2_password: PWSTR, pub usri2_password_age: u32, pub usri2_priv: USER_PRIV, pub usri2_home_dir: PWSTR, pub usri2_comment: PWSTR, pub usri2_flags: USER_ACCOUNT_FLAGS, pub usri2_script_path: PWSTR, pub usri2_auth_flags: AF_OP, pub usri2_full_name: PWSTR, pub usri2_usr_comment: PWSTR, pub usri2_parms: PWSTR, pub usri2_workstations: PWSTR, pub usri2_last_logon: u32, pub usri2_last_logoff: u32, pub usri2_acct_expires: u32, pub usri2_max_storage: u32, pub usri2_units_per_week: u32, pub usri2_logon_hours: *mut u8, pub usri2_bad_pw_count: u32, pub usri2_num_logons: u32, pub usri2_logon_server: PWSTR, pub usri2_country_code: u32, pub usri2_code_page: u32,
}
Expand description

Required features: "Win32_NetworkManagement_NetManagement"

Fields

usri2_name: PWSTRusri2_password: PWSTRusri2_password_age: u32usri2_priv: USER_PRIVusri2_home_dir: PWSTRusri2_comment: PWSTRusri2_flags: USER_ACCOUNT_FLAGSusri2_script_path: PWSTRusri2_auth_flags: AF_OPusri2_full_name: PWSTRusri2_usr_comment: PWSTRusri2_parms: PWSTRusri2_workstations: PWSTRusri2_last_logon: u32usri2_last_logoff: u32usri2_acct_expires: u32usri2_max_storage: u32usri2_units_per_week: u32usri2_logon_hours: *mut u8usri2_bad_pw_count: u32usri2_num_logons: u32usri2_logon_server: PWSTRusri2_country_code: u32usri2_code_page: u32

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.