IMetabaseSecurityExporter.ExportPolicy

Syntax

ExportPolicy;

Description

The ExportPolicy method performs export of settings of security policy.

Comments

Before method call it is necessary to determine filename and its location (property FileName) in which export is performed.

Example

    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:

IMetabaseSecurityExporter