Eas​Min​Password​Length​Result Eas​Min​Password​Length​Result Eas​Min​Password​Length​Result Eas​Min​Password​Length​Result Enum

Definition

Note

EasMinPasswordLengthResult may be unavailable for releases after Windows 10.

Represents the minimum length result for passwords. These values are mapped against the HRESULT codes returned from the EAS policy engine.

public : enum class EasMinPasswordLengthResultpublic enum EasMinPasswordLengthResultPublic Enum EasMinPasswordLengthResult// You can use this enum in JavaScript.
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 AdminsCannotChangePassword

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

AdminsHaveBlankPassword AdminsHaveBlankPassword AdminsHaveBlankPassword AdminsHaveBlankPassword

The EAS password policies cannot be evaluated as one or more admins have blank passwords. HRESULT: EAS_E_ADMINS_HAVE_BLANK_PASSWORD

CanBeCompliant CanBeCompliant CanBeCompliant CanBeCompliant

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

HRESULT: S_OK but the user is not controlled.

ChangeConnectedAdminsPassword ChangeConnectedAdminsPassword ChangeConnectedAdminsPassword ChangeConnectedAdminsPassword

There is at least one administrator whose connected account password must be changed for EAS password policy compliance.HRESULT: EAS_E_CONNECTED_ADMINS_NEED_TO_CHANGE_PASSWORD

ChangeConnectedUserPassword ChangeConnectedUserPassword ChangeConnectedUserPassword ChangeConnectedUserPassword

The connected account password for the current user must be changed for EAS password policy compliance.HRESULT: EAS_E_CURRENT_CONNECTED_USER_NEED_TO_CHANGE_PASSWORD

Compliant Compliant Compliant Compliant

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

ConnectedAdminsProviderPolicyIsWeak ConnectedAdminsProviderPolicyIsWeak ConnectedAdminsProviderPolicyIsWeak ConnectedAdminsProviderPolicyIsWeak

The EAS password policy cannot be enforced by the connected account provider of at least one administrator.HRESULT: EAS_E_PASSWORD_POLICY_NOT_ENFORCEABLE_FOR_CONNECTED_ADMINS

ConnectedUserProviderPolicyIsWeak ConnectedUserProviderPolicyIsWeak ConnectedUserProviderPolicyIsWeak ConnectedUserProviderPolicyIsWeak

The EAS password policy cannot be enforced by the connected account provider of the current user.HRESULT: EAS_E_PASSWORD_POLICY_NOT_ENFORCEABLE_FOR_CURRENT_CONNECTED_USER

CurrentUserHasBlankPassword CurrentUserHasBlankPassword CurrentUserHasBlankPassword CurrentUserHasBlankPassword

The EAS password policies for the user cannot be evaluated as the user has a blank password.HRESULT: EAS_E_CURRENT_USER_HAS_BLANK_PASSWORD

InvalidParameter InvalidParameter InvalidParameter InvalidParameter

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

LocalControlledUsersCannotChangePassword 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 NotEvaluated

The policy is not set for evaluation.

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

RequestedPolicyNotEnforceable RequestedPolicyNotEnforceable RequestedPolicyNotEnforceable RequestedPolicyNotEnforceable

The EAS policy being evaluated cannot be enforced by the system.HRESULT: EAS_E_REQUESTED_POLICY_NOT_ENFORCEABLE

UserCannotChangePassword UserCannotChangePassword UserCannotChangePassword UserCannotChangePassword

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