EasClientSecurityPolicy.MinPasswordComplexCharacters Property

Definition

Note

EasClientSecurityPolicy may be unavailable for releases after Windows 10.

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.

public:
 property byte MinPasswordComplexCharacters { byte get(); void set(byte value); };
byte MinPasswordComplexCharacters();

void MinPasswordComplexCharacters(byte value);
public byte MinPasswordComplexCharacters { get; set; }
var byte = easClientSecurityPolicy.minPasswordComplexCharacters;
easClientSecurityPolicy.minPasswordComplexCharacters = byte;
Public Property MinPasswordComplexCharacters As Byte

Property Value

Byte

byte

The range is between 1 and 4.

Applies to