Skip to content

IADsDomain

The IADsDomain interface is designed to represent an Active Directory domain and modify the Default Domain Password Policy.

Inheritance: The IADsDomain interface inherits from the IADs interface.

Properties

  • Property

  • Description

  • AutoUnlockInterval

  • Gets or sets the minimum time that can elapse before an account is automatically unlocked.

  • IsWorkgroup

  • This property is no longer implemented.

  • LockoutObservationInterval

  • Gets or sets a value that indicates the time window during which the bad password count is monitored and accumulated before determining whether the account needs to be locked out.

  • MaxBadPasswordsAllowed

  • Gets or sets the maximum number of bad password logins allowed before an account lockout.

  • MaxPasswordAge

  • Gets or sets a value that indicates the maximum time interval, in seconds, after which the password must be changed by the user.

  • MinPasswordAge

  • Gets or sets a value that indicates the minimum time interval, in seconds, before the password can be changed.

  • MinPasswordLength

  • Gets or sets a value that indicates the minimum number of characters that must be used for a password.

  • PasswordAttributes

  • Gets or sets a value that indicates restrictions on passwords.

  • PasswordHistoryLength

  • Gets or sets a value that indicates the number of previous passwords saved in the history list.

Details

AutoUnlockInterval

Gets or sets the minimum time that can elapse before an account is automatically unlocked.

  • Type:
  • Int32
  • Access:
  • Read/Write

IsWorkgroup

This property is no longer implemented.

  • Type:
  • Boolean
  • Access:
  • Read-only

LockoutObservationInterval

Gets or sets a value that indicates the time window during which the bad password count is monitored and accumulated before determining whether the account needs to be locked out. For example, if the number of bad password attempts on an account exceeds the threshold (Maximum Bad Passwords Allowed) during the specified time period (Lockout Observation Interval) the account will be locked out by setting the appropriate property in the Login Parameter property set.

  • Type:
  • Int32
  • Access:
  • Read/Write

MaxBadPasswordsAllowed

Gets or sets the maximum number of bad password logins allowed before an account lockout.

  • Type:
  • Int32
  • Access:
  • Read/Write

MaxPasswordAge

Gets or sets a value that indicates the maximum time interval, in seconds, after which the password must be changed by the user.

  • Type:
  • Int32
  • Access:
  • Read/Write

MinPasswordAge

Gets or sets a value that indicates the minimum time interval, in seconds, before the password can be changed.

  • Type:
  • Int32
  • Access:
  • Read/Write

MinPasswordLength

Gets or sets a value that indicates the minimum number of characters that must be used for a password.

  • Type:
  • Int32
  • Access:
  • Read/Write

PasswordAttributes

Gets or sets a value that indicates restrictions on passwords, as defined by the following list of attributes and values:

  • PASSWORD_ATTR_NONE (0x00000000)
  • PASSWORD_ATTR_MIXED_CASE (0x00000001)
  • PASSWORD_ATTR_COMPLEX (0x00000002)
  • Type:
  • Int32
  • Access:
  • Read/Write

Remarks

For PASSWORD_ATTR_COMPLEX, the password must include at least one punctuation mark or non-printable character.


PasswordHistoryLength

Gets or sets a value that indicates the number of previous passwords saved in the history list. The user cannot reuse a password in the history list.

  • Type:
  • Int32
  • Access:
  • Read/Write

Requirements

Minimum required version: 2009.1

See also