Struct USER_ALL_INFORMATION

Source
#[repr(C)]
pub struct USER_ALL_INFORMATION {
Show 33 fields pub LastLogon: LARGE_INTEGER, pub LastLogoff: LARGE_INTEGER, pub PasswordLastSet: LARGE_INTEGER, pub AccountExpires: LARGE_INTEGER, pub PasswordCanChange: LARGE_INTEGER, pub PasswordMustChange: LARGE_INTEGER, pub UserName: UNICODE_STRING, pub FullName: UNICODE_STRING, pub HomeDirectory: UNICODE_STRING, pub HomeDirectoryDrive: UNICODE_STRING, pub ScriptPath: UNICODE_STRING, pub ProfilePath: UNICODE_STRING, pub AdminComment: UNICODE_STRING, pub WorkStations: UNICODE_STRING, pub UserComment: UNICODE_STRING, pub Parameters: UNICODE_STRING, pub LmPassword: UNICODE_STRING, pub NtPassword: UNICODE_STRING, pub PrivateData: UNICODE_STRING, pub SecurityDescriptor: SR_SECURITY_DESCRIPTOR, pub UserId: ULONG, pub PrimaryGroupId: ULONG, pub UserAccountControl: ULONG, pub WhichFields: ULONG, pub LogonHours: LOGON_HOURS, pub BadPasswordCount: USHORT, pub LogonCount: USHORT, pub CountryCode: USHORT, pub CodePage: USHORT, pub LmPasswordPresent: BOOLEAN, pub NtPasswordPresent: BOOLEAN, pub PasswordExpired: BOOLEAN, pub PrivateDataSensitive: BOOLEAN,
}

Fields§

§LastLogon: LARGE_INTEGER§LastLogoff: LARGE_INTEGER§PasswordLastSet: LARGE_INTEGER§AccountExpires: LARGE_INTEGER§PasswordCanChange: LARGE_INTEGER§PasswordMustChange: LARGE_INTEGER§UserName: UNICODE_STRING§FullName: UNICODE_STRING§HomeDirectory: UNICODE_STRING§HomeDirectoryDrive: UNICODE_STRING§ScriptPath: UNICODE_STRING§ProfilePath: UNICODE_STRING§AdminComment: UNICODE_STRING§WorkStations: UNICODE_STRING§UserComment: UNICODE_STRING§Parameters: UNICODE_STRING§LmPassword: UNICODE_STRING§NtPassword: UNICODE_STRING§PrivateData: UNICODE_STRING§SecurityDescriptor: SR_SECURITY_DESCRIPTOR§UserId: ULONG§PrimaryGroupId: ULONG§UserAccountControl: ULONG§WhichFields: ULONG§LogonHours: LOGON_HOURS§BadPasswordCount: USHORT§LogonCount: USHORT§CountryCode: USHORT§CodePage: USHORT§LmPasswordPresent: BOOLEAN§NtPasswordPresent: BOOLEAN§PasswordExpired: BOOLEAN§PrivateDataSensitive: BOOLEAN

Trait Implementations§

Source§

impl Clone for USER_ALL_INFORMATION

Source§

fn clone(&self) -> USER_ALL_INFORMATION

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for USER_ALL_INFORMATION

Source§

fn default() -> USER_ALL_INFORMATION

Returns the “default value” for a type. Read more
Source§

impl Copy for USER_ALL_INFORMATION

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.