-api-id | -api-type |
---|---|
T:Windows.Security.ExchangeActiveSyncProvisioning.EasPasswordExpirationResult |
winrt enum |
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.
The policy is not set for evaluation.
The computer is compliant to the policy.HRESULT: S_OK and the user is controlled.
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.
The requested policy is stricter than the computer policies.HRESULT: EAS_E_POLICY_COMPLIANT_WITH_ACTIONS and the user is not an admin.
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
The policy value is not in a valid range.HRESULT: HRESULT_FROM_WIN32(ERROR_INVALID_PARAMETER)
The user is not allowed to change the password. HRESULT: EAS_E_USER_CANNOT_CHANGE_PASSWORD
One or more admins are not allowed to change their passwords. HRESULT: EAS_E_ADMINS_CANNOT_CHANGE_PASSWORD
There are other standard users present who are not allowed to change their passwords. HRESULT: EAS_E_LOCAL_CONTROLLED_USERS_CANNOT_CHANGE_PASSWORD