ISecurityDescriptor.Apply

Syntax

Apply(ApplyByHierarchy: Boolean);

Parameters

ApplyByHierarchy. A parameter that determines whether the security parameters of all child objects are set in accordance with the security parameters of the current object.

If True is passed, the security parameters for all child objects are set in accordance with parameters of the current object.

If False is passed, the parameters are applied only for the current object but they cover all child objects, for which the Flags flag is set to SecurityDescriptorFlags.AutoInherited.

Description

The Apply method exits from the edit mode with saving all changes of object security parameters.

Example

The method use is given in the example for IMetabaseObjectDescriptor.SecurityDescriptor.

See also:

ISecurityDescriptor | ISecurityDescriptor.Edit