EasClientSecurityPolicy.PasswordExpiration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Note
EasClientSecurityPolicy may be unavailable for releases after Windows 10.
Gets or set the length of time that a password is valid. The MS-ASPROV name is DevicePasswordExpiration.
The PasswordExpiration property is superseded by the MS-ASPROV DevicePasswordEnabled policy. If the caller received DevicePasswordEnabled equal to FALSE, do not set the PasswordExpiration property for evaluation or application. If the caller received DevicePasswordEnabled equal to TRUE, you can set the PasswordExpiration property for evaluation or application.
public:
property TimeSpan PasswordExpiration { TimeSpan get(); void set(TimeSpan value); };
TimeSpan PasswordExpiration();
void PasswordExpiration(TimeSpan value);
public System.TimeSpan PasswordExpiration { get; set; }
var timeSpan = easClientSecurityPolicy.passwordExpiration;
easClientSecurityPolicy.passwordExpiration = timeSpan;
Public Property PasswordExpiration As TimeSpan
Property Value
The length of time before the password expires and must be reset.