EasClientSecurityPolicy.MaxPasswordFailedAttempts Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The range is between 4 and 16.