EasMaxPasswordFailedAttemptsResult Enum

Definition

Note

EasMaxPasswordFailedAttemptsResult may be unavailable for releases after Windows 10.

Represents the maximum number of password attempts results. These values are mapped against the HRESULT codes returned from the EAS policy engine.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.ExchangeActiveSyncProvisioning.EasContract), 65536)]
public enum EasMaxPasswordFailedAttemptsResult
Inheritance
EasMaxPasswordFailedAttemptsResult
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Security.ExchangeActiveSyncProvisioning.EasContract (introduced in v1.0)

Fields

Name Value Description
NotEvaluated 0

The policy is not set for evaluation.

Compliant 1

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

CanBeCompliant 2

This computer can be compliant by 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.

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.

InvalidParameter 4

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

Applies to

Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100