Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EasClientSecurityPolicy.PasswordExpiration | passwordExpiration property

[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.

Syntax


var passwordExpiration = easClientSecurityPolicy.passwordExpiration;
easClientSecurityPolicy.passwordExpiration = passwordExpiration;

Property value

Type: Number [JavaScript] | System.TimeSpan [.NET] | Windows::Foundation::TimeSpan [C++]

The length of time before the password expires and must be reset.

Requirements (Windows 10 device family)

Device family

Desktop, introduced version 10.0.10240.0

API contract

Windows.Security.ExchangeActiveSyncProvisioning.EasContract, introduced version 1.0

Namespace

Windows.Security.ExchangeActiveSyncProvisioning
Windows::Security::ExchangeActiveSyncProvisioning [C++]

Metadata

Windows.Security.ExchangeActiveSyncProvisioning.EasContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Security.ExchangeActiveSyncProvisioning
Windows::Security::ExchangeActiveSyncProvisioning [C++]

Metadata

Windows.winmd

See also

EasClientSecurityPolicy

 

 

Show: