Eas​Password​Expiration​Result Eas​Password​Expiration​Result Eas​Password​Expiration​Result Enum

Definition

Note

EasPasswordExpirationResult may be unavailable for releases after Windows 10.

Results of querying on the password expiration information. These values are mapped against the HRESULT codes returned from the EAS policy engine.

public enum EasPasswordExpirationResultpublic enum EasPasswordExpirationResultPublic Enum EasPasswordExpirationResult
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Security.ExchangeActiveSyncProvisioning.EasContract (introduced v1)

Fields

AdminsCannotChangePassword AdminsCannotChangePassword AdminsCannotChangePassword

One or more admins are not allowed to change their passwords. HRESULT: EAS_E_ADMINS_CANNOT_CHANGE_PASSWORD

CanBeCompliant CanBeCompliant CanBeCompliant

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

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

InvalidParameter InvalidParameter InvalidParameter

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

LocalControlledUsersCannotChangePassword LocalControlledUsersCannotChangePassword LocalControlledUsersCannotChangePassword

There are other standard users present who are not allowed to change their passwords. HRESULT: EAS_E_LOCAL_CONTROLLED_USERS_CANNOT_CHANGE_PASSWORD

NotEvaluated NotEvaluated NotEvaluated

The policy is not set for evaluation.

RequestedExpirationIncompatible RequestedExpirationIncompatible RequestedExpirationIncompatible

The EAS password expiration policy cannot be met as the password expiration interval is less than the minimum password interval for the system.HRESULT: EAS_E_REQUESTED_POLICY_PASSWORD_EXPIRATION_INCOMPATIBLE

RequestedPolicyIsStricter RequestedPolicyIsStricter RequestedPolicyIsStricter

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

UserCannotChangePassword UserCannotChangePassword UserCannotChangePassword

The user is not allowed to change the password. HRESULT: EAS_E_USER_CANNOT_CHANGE_PASSWORD