OpenAuditLog

Syntax

OpenAuditLogResult OpenAuditLog(MbId tMb, OpenAuditLogArg tArg)

Parameters

tMb. Repository connection moniker, which access protocol must be opened.

tArg. Parameters for opening access protocol.

Description

The OpenAuditLog operation opens the access protocol and returns the moniker for accessing the records.

Comments

The first OpenAuditLog operation should be executed with specifying the Logons value in the tArg.logType field. This returns the moniker that enables the user to get the list of repository connections. Using this moniker in the GetAuditLog operation, the user can get records about repository connections. Each record has a session key with the repository. Now specify key of a session in the tArg.session field and set the tArg.logType field to the Operations value, use the OpenAuditLog operation to get moniker of the log that contains the list of operations executed with repository objects within the selected session. It is also possible to get information about operations executed with objects, using the GetAuditLog operation. To execute the OpenAuditLog operation, specify the repository connection moniker in the tMb parameter.

Example

Various methods of using this operation are given in the following examples:

Example name
Getting List of repository Connections
Getting List of Operations Within One Repository Connection

See also:

Common Operations