ILDAPUserAccountStatus¶
- class ILDAPUserAccountStatus¶
Bases:
ImpactCOMWrapperBase- Description:
Describes the LDAP domain account status of an ldap_enabled user.
- Remarks:
Currently domain account status information can only be retrieved when LDAP is configured to connect to a Active Driectory domain service. Introduced in Impact 8.0.0.94.
Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance
- property account_has_expired¶
Gets account_has_expired.
- Description:
Determines if the domain user account has expired.
- Returns:
The value of account_has_expired.
- Return type:
account_has_expired (bool)
- property days_until_password_expires¶
Gets days_until_password_expires.
- Description:
Determines the number of days until a domain user’s password will expire.
- Remarks:
A value of zero indicates that the password will not expire or expires in less than one day. You should also check the seconds_until_password_expires property. When the password policy specifies a password expiration which is greater than 3560 days (10 years) this property will always return the value 3560 days.
- Returns:
The value of days_until_password_expires.
- Return type:
- property is_disabled¶
Gets is_disabled.
- Description:
Determines if the domain user account has been disabled.
- Returns:
The value of is_disabled.
- Return type:
is_disabled (bool)
- property is_locked_out¶
Gets is_locked_out.
- Description:
Determines if the domain user account has been locked out due to password failures.
- Returns:
The value of is_locked_out.
- Return type:
is_locked_out (bool)
- property password_cannot_be_changed¶
Gets password_cannot_be_changed.
- Description:
Determines if the domain user account password cannot be changed.
- Returns:
The value of password_cannot_be_changed.
- Return type:
password_cannot_be_changed (bool)
- property password_has_expired¶
Gets password_has_expired.
- Description:
Determines if the domain user account password has expired.
- Returns:
The value of password_has_expired.
- Return type:
password_has_expired (bool)
- property password_must_be_reset_at_logon¶
Gets password_must_be_reset_at_logon.
- Description:
Determines if the domain user account password must be reset during logon.
- Returns:
The value of password_must_be_reset_at_logon.
- Return type:
- property password_never_expires¶
Gets password_never_expires.
- Description:
Determines if the domain user account password never expires.
- Returns:
The value of password_never_expires.
- Return type:
password_never_expires (bool)
- property seconds_until_password_expires¶
Gets seconds_until_password_expires.
- Description:
Determines the number of seconds until a domain user’s password will expire.
- Remarks:
A value of zero indicates that the password will not expire. When the password policy specifies a password expiration which is greater than 3560 days (10 years) this property will always return the value 307584000 seconds.
- Returns:
The value of seconds_until_password_expires.
- Return type: