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 deprecated and should not be used.

  • LockoutObservationInterval

  • Gets or sets the time window for monitoring and accumulating the bad password count 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 the maximum time interval after which the password must be changed by the user, in seconds.

  • MinPasswordAge

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

  • MinPasswordLength

  • Gets or sets the minimum number of characters that the password must contain.

  • PasswordAttributes

  • Gets or sets a value that defines password restrictions.

  • PasswordHistoryLength

  • Gets or sets 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 deprecated and should not be used.

  • Type:
  • bool
  • Access:
  • Read-only

LockoutObservationInterval

Gets or sets the time window for monitoring and accumulating the bad password count 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 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 the minimum time interval, in seconds, before the password can be changed.

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

MinPasswordLength

Gets or sets the minimum number of characters that the password must contain.

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

PasswordAttributes

Gets or sets a value that defines password restrictions. The following values are possible:

  • 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 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