AUDIT-ENABLED function

Determines whether a connected database is audit-enabled.

For information about audit-enabling a database, or creating and activating an audit policy for a database, see OpenEdge Getting Started: Core Business Services - Security and Auditing.

Syntax

AUDIT-ENABLED( [ integer-expression | logical-name | alias ] )
integer-expression
The sequence number of a connected database to query. For example, AUDIT-ENABLED(1) queries the first database, AUDIT-ENABLED(2) queries the second database, and so on. If you specify a sequence number that does not correspond to a connected database, the AVM returns the Unknown value (?).
logical-name or alias
The logical name or alias of a connected database to query. These forms require a quoted character string or a character expression. If you specify a logical name or alias that does not correspond to a connected database, the AVM returns the Unknown value (?).

Notes

See also

AUDIT-POLICY system handle