EasPasswordHistoryResult EasPasswordHistoryResult EasPasswordHistoryResult EasPasswordHistoryResult EasPasswordHistoryResult Enum



EasPasswordHistoryResult may be unavailable for releases after Windows 10.

Represents the password history. These values are mapped against the HRESULT codes returned from the EAS policy engine.

public : enum class EasPasswordHistoryResult
enum class winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasPasswordHistoryResult : int32_t
public enum EasPasswordHistoryResult
Public Enum EasPasswordHistoryResult
var value = Windows.Security.ExchangeActiveSyncProvisioning.EasPasswordHistoryResult.canBeCompliant;

Windows 10 requirements

Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Security.ExchangeActiveSyncProvisioning.EasContract (introduced v1)


CanBeCompliant CanBeCompliant CanBeCompliant CanBeCompliant CanBeCompliant 2

The computer can be compliant using the ApplyAsync method.HRESULT: EAS_E_POLICY_COMPLIANT_WITH_ACTIONS and the user is an admin.

HRESULT: S_OK but the user is not controlled.

Compliant Compliant Compliant Compliant Compliant 1

The computer is compliant to the policy.HRESULT: S_OK and the user is controlled.

InvalidParameter InvalidParameter InvalidParameter InvalidParameter InvalidParameter 4

The policy value is not in a valid range.HRESULT: HRESULT_FROM_WIN32(ERROR_INVALID_PARAMETER)

NotEvaluated NotEvaluated NotEvaluated NotEvaluated NotEvaluated 0

The policy is not set for evaluation.

RequestedPolicyIsStricter RequestedPolicyIsStricter RequestedPolicyIsStricter RequestedPolicyIsStricter RequestedPolicyIsStricter 3

The requested policy is stricter than the computer policies.HRESULT: EAS_E_POLICY_COMPLIANT_WITH_ACTIONS and the user is not an admin.

See also