EnforceMaxPasswordAge Property

Applies To   See Also  

Returns True if users are required to change their password after a specified length of time, and False otherwise.

Syntax

Property EnforceMaxPassword As Boolean

Used to query for the property

SI_ENFORCE_MAX_PASSWORD_AGE Property

Remarks

The default setting is False.

This property will override the User object's PasswordExpires Property. If EnforceMaxPasswordAge is set to False, then the password never ages (never expires), and the User object's PasswordExpires property is ignored, even if it is set to True. If EnforceMaxPasswordAge is set to True, and the password can age, then the PasswordExpires property is checked; if the PasswordExpires property is set to False, then the password will not expire, and if it is set to True, then the age that is specified by the MaxPasswordAge Property is applied.

Note:    The User object's ChangePasswordAtNextLogon Property always forces the user to change the password at the next logon, regardless of which global or user-specific options have been set.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com