EasClientSecurityPolicy.MaxPasswordFailedAttempts Property

Definition

Note

EasClientSecurityPolicy may be unavailable for releases after Windows 10.

Gets or sets the maximum number of failed password attempts for logging on. The MS-ASPROV name is MaxDevicePasswordFailedAttempts.

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

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

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

Property Value

Byte

byte

The range is between 4 and 16.

Applies to