ExportObjectsRights(Order: MetabaseExportObjectsRightsOrder);
Order. Determines records order in a file.
The ExportObjectsRights method exports access permissions on objects.
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:\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: