Export (0) Print
Expand All

SetProtected Method

Exchange Server 2003

SetProtected Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Protects a DACL object from inheriting any ACEs from a parent folder.

Applies To

Syntax

        [JScript]  objDACL.SetProtected(boolflag);

Parameters

boolflag
A Boolean value of either TRUE or FALSE.

Return Value

No return value.

Remarks

Specifying TRUE prevents the DACL from inheriting ACEs.

This method makes copies of the inherited entities, except for the ones that already have an explicit ACE. If there is already an explicit ACE, this method discards the inherited entity without making a copy. The method then removes all inherited entities.

To have a protected DACL not make copies of inherited entities, first remove all inherited entities by calling the RemoveInheritedEntities Method, and then call SetProtected(TRUE).

Example

objDacl.SetProtected(true)

See Also

IsProtected Property

Show:
© 2015 Microsoft