Windows Dev Center

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.PasswordHistory | passwordHistory property

[EasClientSecurityPolicy may be unavailable for releases after Windows 10 Insider Preview.]

Gets or set the password information previously used. The MS-ASPROV name is DevicePasswordHistory.

The PasswordHistory property is superseded by the MS-ASPROV DevicePasswordEnabled policy. If the caller received DevicePasswordEnabled equal to FALSE, do not set the PasswordHistory property for evaluation or application. If the caller received DevicePasswordEnabled equal to TRUE, you can set the PasswordHistory property for evaluation or application.

Syntax


var passwordHistory = easClientSecurityPolicy.passwordHistory;
easClientSecurityPolicy.passwordHistory = passwordHistory;

Property value

Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The password information that was previously used.

Remarks

The property value can be retrieved using the get() only if the property value is previously set(). Getting a policy value without previously setting it will result in HRESULT_FROM_WIN32(ERROR_NO_DATA) returned from the get() call.

Requirements (device family)

Device family

Desktop

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 (operating system)

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:
© 2015 Microsoft