Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EasClientSecurityPolicy.MinPasswordComplexCharacters | minPasswordComplexCharacters property

Applies to Windows only

Gets or sets the minimum number of complex characters that are required for a password. The MS-ASPROV name is MinDevicePasswordComplexCharacters.

If the caller app receives MS-ASPROV AlphanumericDevicePasswordRequired equal to TRUE, then MinPasswordComplexCharacters must be set to be equal or greater than 2 for evaluation and application.

The MinPasswordComplexCharacters property is superseded by the MS-ASPROV DevicePasswordEnabled policy. If the caller received DevicePasswordEnabled equal to FALSE, do not set the MinPasswordComplexCharacters property for evaluation or application. If the caller received DevicePasswordEnabled equal to TRUE, you can set the MinPasswordComplexCharacters property for evaluation or application.

Syntax


var minPasswordComplexCharacters = easClientSecurityPolicy.minPasswordComplexCharacters;
easClientSecurityPolicy.minPasswordComplexCharacters = minPasswordComplexCharacters;

Property value

Type: Number [JavaScript] | System.Byte [.NET] | uint8 [C++]

The range is between 1 and 4.

Remarks

The property value can be retrieved using the get() only if the property value is 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

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

EasClientSecurityPolicy

 

 

Show:
© 2014 Microsoft