CimUser.PasswordExpiresDays (property)

Gets and sets the password expires period
Syntax: int = object.PasswordExpiresDays
object.PasswordExpiresDays = int
Description: The CimUser.PasswordExpiresDays is an integer indicating the number of days until the user password expires. A value of zero indicates the password never expires.

Examples

user.PasswordExpiresDays = 30