IMetabaseSecurity.OpenAuditLog

Syntax

OpenAuditLog: IAuditLog;

Description

The OpenAuditLog method opens an access protocol.

Example

Sub Main;

Var

MB: IMetabase;

MS: IMetabaseSecurity;

AuLog: IAuditLog;

Begin

MB:=MetabaseClass.Active;

MS:=MB.Security;

AuLog:=MS.OpenAuditLog;

AuLog.Archive("c:\Gurnal_01.01.2006.pplog");

End Sub Main;

After executing the example the current access protocol is opened and archived to the Gurnal_01.01.2006.pplog file.

See also:

IMetabaseSecurity