IMetabasePolicy.FailedLogonsCounter_ResetPeriod

Syntax

FailedLogonsCounter_ResetPeriod: Integer;

Description

The FailedLogonsCounter_ResetPeriod property determines the period (in minutes), after which the counter of failed logons is reset.

Example

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:

IMetabasePolicy