Consultor Eletrônico



Kbase P143113: How to programmatically de-activate and activate Audit Policies?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   02/03/2011
Status: Verified

GOAL:

How to programmatically activate and deactivate audit policies

GOAL:

How to make audit policies active or inactive in code

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.1x

FIX:


Find the record in the _aud-audit-policy table where the _Audit-policy-name field contains the name of the policy to be activated or deactivated.
Set the _Audit-policy-active field to TRUE to activate the policy, or FALSE to deactivate it.
Call AUDIT-POLICY:REFRESH-AUDIT-POLICY( <db-name> ) to refresh the audit policy settings cache.