Skip to content

IAdmPasswordPolicyInfo

The IAdmPasswordPolicyInfo interface provides access to information about a password policy.

Inheritance: The IAdmPasswordPolicyInfo interface inherits from the IUnknown interface.

Methods

Properties

  • Property

  • Description

  • PolicyObjectAdsPath

  • Gets the ADS path of the directory object that represents the password policy.

  • MaxPasswordAgeSec

  • Gets the maximum time interval (in seconds) during which users can keep a password before they have to change it.

  • MinPasswordAgeSec

  • Gets the time interval (in seconds) during which users must keep a password before they can change it.

  • MinPasswordLength

  • Gets the minimum number of characters in a password.

  • PasswordComplexityEnabled

  • Gets a value indicating whether user passwords must meet complexity requirements.

  • PasswordHistoryLength

  • Gets a value that determines how frequently old passwords can be reused.

Details

GetPolicyRequirements()

Returns a textual description of the requirements enforced by the password policy.

String GetPolicyRequirements(out Boolean thirdPartyPolicy)

Parameters

thirdPartyPolicy is an output (OUT) parameter that returns a value indicating whether the password policy is enforced by third-party software.


PolicyObjectAdsPath

Gets the ADS path of the directory object that represents the password policy. If the policy is the Default Domain Policy, the property gets an empty string.

  • Type:
  • String
  • Access:
  • Read-only

MaxPasswordAgeSec

Gets the maximum time interval (in seconds) during which users can keep a password before they have to change it.

  • Type:
  • Int32
  • Access:
  • Read-only

MinPasswordAgeSec

Gets the time interval (in seconds) during which users must keep a password before they can change it.

  • Type:
  • Int32
  • Access:
  • Read-only

MinPasswordLength

Gets the minimum number of characters in a password.

  • Type:
  • Int32
  • Access:
  • Read-only

PasswordComplexityEnabled

Gets a value indicating whether user passwords must meet complexity requirements.

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

PasswordHistoryLength

Gets a value that determines how frequently old passwords can be reused.

  • Type:
  • Int32
  • Access:
  • Read-only

Requirements

Minimum required version: 2011.1

See also