ExportPolicy;
The ExportPolicy method performs export of settings of security policy.
Before method call it is necessary to determine filename and its location (property FileName) in which export is performed.
Sub UserProc;
Begin
With Exporter: MetabaseClass.Active.Security.CreateExporter
Do
Exporter.FileName := "C:\MetabasePolicy.csv";
Exporter.FileAppend := True;
Exporter.ExportPolicy;
End With;
End Sub UserProc;
After executing this example export of settings of security policy is performed in a specified file. If the file has already existed it will be appended.
See also: