IADsDomain

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

Inheritance: IADs

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:
  • int
  • Access:
  • Read/Write

IsWorkgroup

This property is no longer implemented.

  • Type:
  • bool
  • 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:
  • int
  • Access:
  • Read/Write

MaxBadPasswordsAllowed

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

  • Type:
  • int
  • 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:
  • int
  • Access:
  • Read/Write

MinPasswordAge

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

  • Type:
  • int
  • Access:
  • Read/Write

MinPasswordLength

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

  • Type:
  • int
  • 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:
  • int
  • 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:
  • int
  • Access:
  • Read/Write

Requirements

Minimum required version: 2009.1

See also