Flags: SecurityDescriptorFlags;
The Flags property determines whether the access permissions are inherited from the parent object.
Executing the example requires that the repository contains an object with the Obj_1 identifier.
Sub Main;
Var
MB: IMetabase;
SDesc: ISecurityDescriptor;
Begin
MB := MetabaseClass.Active;
SDesc := MB.ItemById("Obj_1").SecurityDescriptor;
SDesc.Edit;
SDesc.Flags := SecurityDescriptorFlags.Locked;
SDesc.Apply(False);
End Sub Main;
After executing this example the inheritance of the access permissions from the parent object is canceled for the specified object.
See also: