OpenAuditLog: IAuditLog;
The OpenAuditLog method opens an access protocol.
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: