ISecurityDescriptor.Apply

Syntax

Apply(ApplyByHierarchy: Boolean);

Apply(System.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 spread to all child objects, for which the Flags flag is set to SecurityDescriptorFlags.AutoInherited.

Description

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

Example

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

See also:

ISecurityDescriptor | ISecurityDescriptor.Edit