EasClientSecurityPolicy class

EasClientSecurityPolicy class

[EasClientSecurityPolicy may be unavailable for releases after Windows 10.]

Modern mail apps evaluate and apply the EAS security policies. An EasClientSecurityPolicy object is constructed by the caller app to set policies received from the Exchange server or application.

Syntax


var easClientSecurityPolicy = new Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy();

Members

The EasClientSecurityPolicy class has these types of members:

Constructors

The EasClientSecurityPolicy class has these constructors.

ConstructorDescription
EasClientSecurityPolicy Creates an instance of an object that allows the caller app to set policies received from the Exchange server for evaluation or application.

 

Methods

The EasClientSecurityPolicy class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
ApplyAsync Applies the EAS policies in asynchronous mode once the user consents.
CheckCompliance Evaluates the EAS policies.

 

Properties

The EasClientSecurityPolicy class has these properties.

PropertyAccess typeDescription

DisallowConvenienceLogon

Read/write

Gets or sets the ability to prevent convenience logons.

MaxInactivityTimeLock

Read/write

Gets or sets the maximum length of time the computer can remain inactive before it is locked.

MaxPasswordFailedAttempts

Read/write

Gets or sets the maximum number of failed password attempts for logging on.

MinPasswordComplexCharacters

Read/write

Gets or sets the minimum number of complex characters that are required for a password.

MinPasswordLength

Read/write

Gets or set the minimum length of password allowed.

PasswordExpiration

Read/write

Gets or set the length of time that a password is valid.

PasswordHistory

Read/write

Gets or set the password information previously used.

RequireEncryption

Read/write

Gets or sets whether encryption is required.

 

Remarks

All of the property values for this class can be retrieved using get() only if the property values are previously set. Getting a policy value without previously setting it will result in HRESULT_FROM_WIN32(ERROR_NO_DATA) returned from the get() call.

Requirements (Windows 10 device family)

Device family

Desktop, introduced version 10.0.10240.0

API contract

Windows.Security.ExchangeActiveSyncProvisioning.EasContract, introduced version 1.0

Namespace

Windows.Security.ExchangeActiveSyncProvisioning
Windows::Security::ExchangeActiveSyncProvisioning [C++]

Metadata

Windows.Security.ExchangeActiveSyncProvisioning.EasContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

Windows.Security.ExchangeActiveSyncProvisioning
Windows::Security::ExchangeActiveSyncProvisioning [C++]

Metadata

Windows.winmd

Attributes

[Threading(Both)]
[Version(0x06020000)]

See also

Object

 

 

Show:
© 2016 Microsoft