IAuditOperations.ObjectName

Syntax

ObjectName: String;

Description

The ObjectName property returns a name of the object, on which the operation was performed.

Example

Sub Main;

Var

MB: IMetabase;

MS: IMetabaseSecurity;

AL: IAuditLog;

ALogon: IAuditLogons;

Operat: IAuditOperations;

s: String;

Begin

MB:=MetabaseClass.Active;

MS:=MB.Security;

Al:=MS.OpenAuditLog;

ALogon:= AL.OpenLogons(False);

ALogon.Next;

Operat:=Al.OpenOperations(ALogon.Session);

s:=Operat.ObjectName;

End Sub Main;

After executing the example the "s" variable contains a name of the object, on which the last operation was performed.

See also:

IAuditOperations