IAuditLog.CountLogons

Syntax

CountLogons([NoFilterLogons: Boolean = False]): Integer;

Parameters

NoFilterLogons — the conditions of filter should not be taken into account.

The optional parameter has the True value by default.

Read-only.

Description

The CountLogons method returns the number of records about the connections to the repository (login) in the access protocol.

Example

Sub Main;

Var

MB: IMetabase;

Se: IMetabaseSecurity;

ALog: IAuditLog;

Count: Integer;

Begin

MB := IMetabase.Active;

Se := MB.Security;

ALog := Se.OpenAuditLog;

Count := ALog.CountLogons;

End Sub Main;

After executing this example the Count variable contains the number of records about the connections to the repository (login) in the access protocol.

See also:

IAuditLog