IAuditFilterCondition.IncludeSucceededLogons

Syntax

IncludeSucceededLogons: Boolean;

Description

The IncludeSucceededLogons property determines whether succeeded logons are displayed. The property is set to True by default.

Example

Executing the example requires an access protocol filter with the FILTER identifier.

Add a link to the Metabase system assembly.

Sub UserProc;
Var
    FilCon: IAuditFiltersContainer;
    Objs: IAuditFilterObjects;
    Obj: IAuditFilterObject;
    Con: IAuditFilterCondition;
    Fil: IAuditFilter;
Begin
    FilCon := New AuditFiltersContainer.Create;
    FilCon.Load;
    Objs := FilCon.Filters;
    Obj := Objs.FindById("FILTER").Edit;
    Fil := Obj.Filter;
    Con := Fil.Item(0);
    Con.IncludeSucceededLogons := False;
    Obj.Save;
    FilCon.SaveToFile(FilCon.DefaultFileName);
End Sub UserProc;

After executing the example the property of filter condition is changed: do not show successful logons.

See also:

IAuditFilterCondition