LogRecordCountThreshold(State: Integer): Integer;
LogRecordCountThreshold[State: Integer]: Integer;
State. It is a threshold for which the limit of records should be determined. "1" and "2" values are acceptable as a value of this parameter.
The LogRecordCountThreshold property determines the number of records of the access protocol for this threshold. The warning message will be shown, if the user reached this threshold.
In settings of security policy two threshold values of the records number in the access protocol can be determined. The message that the access protocol should be cleared, is shown, if the user exceeded these two values.
The second threshold value should be greater than the first one.
When connecting to the security manager, if one of threshold values was reached, the information message that the access protocol should be cleared, is shown to the user.
The "0" value should be assigned in this property to remove the threshold values.
NOTE. The second threshold value should be greater than the first one. This fact is check when the threshold values are assigned. The second threshold value should be assigned earlier than the first one to avoid error during this comparison.
Sub UserProc;
Var
Security: IMetabaseSecurity;
AuditPolicy: IMetabaseAuditPolicy;
Begin
Security := MetabaseClass.Active.Security;
AuditPolicy := Security.Policy.AuditPolicy;
AuditPolicy.LogRecordCountThreshold(2) := 20000;
AuditPolicy.LogRecordCountThreshold(1) := 10000;
Security.Apply;
End Sub UserProc;
The first and the second threshold values will be assigned for capacity of the access protocol during execution of the example.
Public Shared Sub Main(Params: StartParams);
Var
Security: IMetabaseSecurity;
AuditPolicy: IMetabaseAuditPolicy;
Begin
Security := Params.Metabase.Security;
AuditPolicy := Security.Policy.AuditPolicy;
AuditPolicy.LogRecordCountThreshold[2] := 20000;
AuditPolicy.LogRecordCountThreshold[1] := 10000;
Security.Apply();
End Sub;
This procedure is an entry point for the .NET assembly. The first and the second threshold values will be assigned for capacity of the access protocol during execution of the example.
See also: