IAuditOperations.ObjectId

Syntax

ObjectId: String;

Description

The ObjectId property returns an identifier 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.ObjectId;

End Sub Main;

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

See also:

IAuditOperations