FailedLogonsCounter_ResetPeriod: Integer;
The FailedLogonsCounter_ResetPeriod property determines the period (in minutes), after which the counter of failed logons is reset.
To execute the example, add a link to the Metabase system assembly.
Sub UserProc;
Var
MB: IMetabase;
MS: IMetabaseSecurity;
Policy: IMetabasePolicy;
Lic: Object;
Begin
MB := MetabaseClass.Active;
// Check out license to work with security manager
Lic := MB.RequestLicense(UiLicenseFeatureType.Adm);
MS := MB.Security;
Policy := MS.Policy;
// Set period, after which the counter is reset
Policy.FailedLogonsCounter_ResetPeriod := 10;
// Save changes
MS.Apply;
// Check in license
Lic := Null;
End Sub UserProc;
After executing the example the counter of failed logons is reset in every ten minutes.
See also: