IAdmPasswordPolicyInfo

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

Inheritance: IUnknown

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 bool 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:
  • int
  • Access:
  • Read-only

MinPasswordAgeSec

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

  • Type:
  • int
  • Access:
  • Read-only

MinPasswordLength

Gets the minimum number of characters in a password.

  • Type:
  • int
  • Access:
  • Read-only

PasswordComplexityEnabled

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

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

PasswordHistoryLength

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

  • Type:
  • int
  • Access:
  • Read-only

Requirements

Minimum required version: 2011.1

See also