IAuditOperations.ObjectClass

Syntax

ObjectClass: Integer;

Description

The ObjectClass property returns a class of the object, on which the operation was performed.

Example

Sub Main;

Var

MB: IMetabase;

MS: IMetabaseSecurity;

AL: IAuditLog;

ALogon: IAuditLogons;

Operat: IAuditOperations;

i: Integer;

Begin

MB:=MetabaseClass.Active;

MS:=MB.Security;

Al:=MS.OpenAuditLog;

ALogon:= AL.OpenLogons(False);

ALogon.Next;

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

i:=Operat.ObjectClass;

End Sub Main;

After executing the example the "i" variable contains an index of the object class, on which the last operation was performed.

See also:

IAuditOperations