IMetabaseSecurityExporter.ExportObjectsRights

Syntax

ExportObjectsRights(Order: MetabaseExportObjectsRightsOrder);

Parameters

Order. Determines records order in a file.

Description

The ExportObjectsRights method exports access permissions on objects.

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:\MetabaseObjectsRights.csv";
            Exporter.ExportObjectsRights(MetabaseExportObjectsRightsOrder.Hierarchical);
    End With;
    End Sub UserProc;

After executing this example the export of access permissions in a specified file is performed. If the file has already existed it will be overwritten.

See also:

IMetabaseSecurityExporter