Property Name
MaxPasswordAge
Property Type
Long
Description
Gets and sets the age at which a password must be changed by the
owner.
Remarks
Specifies, in number of days, the maximum allowable password age. A
value of -1 indicates that the password never expires. The minimum
valid value for this element is ONE_DAY (1). The value specified
must be greater than or equal to the value for the MinPasswordAge
member.
Example
Dim DomainObject As IADsDomain
Set DomainObject = GetObject("NTDS://YourDomainName")
Debug.Print DomainObject.MaxPasswordAge
See Also