EasComplianceResults EasComplianceResults EasComplianceResults EasComplianceResults Class

Definition

Note

EasComplianceResults may be unavailable for releases after Windows 10.

Provides the mail app with the results of the evaluation of the EAS security policies. Every policy being evaluated returns an enumerated value indicating the evaluation results against the policy. The evaluations results are encapsulated in the EasComplianceResults object for the caller app to retrieve.

public : sealed class EasComplianceResults : IEasComplianceResults, IEasComplianceResults2
public sealed class EasComplianceResults : IEasComplianceResults, IEasComplianceResults2
Public NotInheritable Class EasComplianceResults Implements IEasComplianceResults, IEasComplianceResults2
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Security.ExchangeActiveSyncProvisioning.EasContract (introduced v1)

Remarks

An EasComplianceResults object can be returned from a successful CheckCompliance or ApplyAsync call.

Properties

Compliant Compliant Compliant Compliant

Note

EasComplianceResults may be unavailable for releases after Windows 10.

Returns the result of whether the computer is compliant with the EAS policies.

public : Platform::Boolean Compliant { get; }
public bool Compliant { get; }
Public ReadOnly Property Compliant As bool
var bool = easComplianceResults.compliant;
Value
Platform::Boolean bool bool bool

The result of whether the computer is compliant with the EAS policies. The Compliant property is set to TRUE if all of the policies being evaluated are compliant. Otherwise, it is set to FALSE.

Remarks

The mail app needs to scan through each evaluation result to determine the actual reason for not being compliant if the Compliant property is FALSE.

DisallowConvenienceLogonResult DisallowConvenienceLogonResult DisallowConvenienceLogonResult DisallowConvenienceLogonResult

Note

EasComplianceResults may be unavailable for releases after Windows 10.

Returns the result of whether convenience logons are disallowed.

public : EasDisallowConvenienceLogonResult DisallowConvenienceLogonResult { get; }
public EasDisallowConvenienceLogonResult DisallowConvenienceLogonResult { get; }
Public ReadOnly Property DisallowConvenienceLogonResult As EasDisallowConvenienceLogonResult
var easDisallowConvenienceLogonResult = easComplianceResults.disallowConvenienceLogonResult;

EncryptionProviderType EncryptionProviderType EncryptionProviderType EncryptionProviderType

Note

EasComplianceResults may be unavailable for releases after Windows 10.

Gets the type of the Exchange ActiveSync encryption provider.

public : EasEncryptionProviderType EncryptionProviderType { get; }
public EasEncryptionProviderType EncryptionProviderType { get; }
Public ReadOnly Property EncryptionProviderType As EasEncryptionProviderType
var easEncryptionProviderType = easComplianceResults.encryptionProviderType;
Value
EasEncryptionProviderType EasEncryptionProviderType EasEncryptionProviderType EasEncryptionProviderType

The type of the Exchange ActiveSync encryption provider.

MaxInactivityTimeLockResult MaxInactivityTimeLockResult MaxInactivityTimeLockResult MaxInactivityTimeLockResult

Note

EasComplianceResults may be unavailable for releases after Windows 10.

Returns the result of the maximum time of inactivity allowed before the computer is locked.

public : EasMaxInactivityTimeLockResult MaxInactivityTimeLockResult { get; }
public EasMaxInactivityTimeLockResult MaxInactivityTimeLockResult { get; }
Public ReadOnly Property MaxInactivityTimeLockResult As EasMaxInactivityTimeLockResult
var easMaxInactivityTimeLockResult = easComplianceResults.maxInactivityTimeLockResult;
Value
EasMaxInactivityTimeLockResult EasMaxInactivityTimeLockResult EasMaxInactivityTimeLockResult EasMaxInactivityTimeLockResult

The result of the maximum time of inactivity allowed before the computer is locked.

MaxPasswordFailedAttemptsResult MaxPasswordFailedAttemptsResult MaxPasswordFailedAttemptsResult MaxPasswordFailedAttemptsResult

Note

EasComplianceResults may be unavailable for releases after Windows 10.

Returns the result of the maximum number of failed password attempts allowed.

public : EasMaxPasswordFailedAttemptsResult MaxPasswordFailedAttemptsResult { get; }
public EasMaxPasswordFailedAttemptsResult MaxPasswordFailedAttemptsResult { get; }
Public ReadOnly Property MaxPasswordFailedAttemptsResult As EasMaxPasswordFailedAttemptsResult
var easMaxPasswordFailedAttemptsResult = easComplianceResults.maxPasswordFailedAttemptsResult;

MinPasswordComplexCharactersResult MinPasswordComplexCharactersResult MinPasswordComplexCharactersResult MinPasswordComplexCharactersResult

Note

EasComplianceResults may be unavailable for releases after Windows 10.

Returns the result of the minimum number of complex password characters required.

public : EasMinPasswordComplexCharactersResult MinPasswordComplexCharactersResult { get; }
public EasMinPasswordComplexCharactersResult MinPasswordComplexCharactersResult { get; }
Public ReadOnly Property MinPasswordComplexCharactersResult As EasMinPasswordComplexCharactersResult
var easMinPasswordComplexCharactersResult = easComplianceResults.minPasswordComplexCharactersResult;

MinPasswordLengthResult MinPasswordLengthResult MinPasswordLengthResult MinPasswordLengthResult

Note

EasComplianceResults may be unavailable for releases after Windows 10.

Returns the result of the minimum length of the password required.

public : EasMinPasswordLengthResult MinPasswordLengthResult { get; }
public EasMinPasswordLengthResult MinPasswordLengthResult { get; }
Public ReadOnly Property MinPasswordLengthResult As EasMinPasswordLengthResult
var easMinPasswordLengthResult = easComplianceResults.minPasswordLengthResult;
Value
EasMinPasswordLengthResult EasMinPasswordLengthResult EasMinPasswordLengthResult EasMinPasswordLengthResult

The result of the minimum length of the password required.

PasswordExpirationResult PasswordExpirationResult PasswordExpirationResult PasswordExpirationResult

Note

EasComplianceResults may be unavailable for releases after Windows 10.

Returns the result of whether the password is expired.

public : EasPasswordExpirationResult PasswordExpirationResult { get; }
public EasPasswordExpirationResult PasswordExpirationResult { get; }
Public ReadOnly Property PasswordExpirationResult As EasPasswordExpirationResult
var easPasswordExpirationResult = easComplianceResults.passwordExpirationResult;

PasswordHistoryResult PasswordHistoryResult PasswordHistoryResult PasswordHistoryResult

Note

EasComplianceResults may be unavailable for releases after Windows 10.

Returns the result of the history of passwords.

public : EasPasswordHistoryResult PasswordHistoryResult { get; }
public EasPasswordHistoryResult PasswordHistoryResult { get; }
Public ReadOnly Property PasswordHistoryResult As EasPasswordHistoryResult
var easPasswordHistoryResult = easComplianceResults.passwordHistoryResult;

RequireEncryptionResult RequireEncryptionResult RequireEncryptionResult RequireEncryptionResult

Note

EasComplianceResults may be unavailable for releases after Windows 10.

Returns the result of whether encryption is required.

public : EasRequireEncryptionResult RequireEncryptionResult { get; }
public EasRequireEncryptionResult RequireEncryptionResult { get; }
Public ReadOnly Property RequireEncryptionResult As EasRequireEncryptionResult
var easRequireEncryptionResult = easComplianceResults.requireEncryptionResult;