This documentation is archived and is not being maintained.

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


        [JScript]  objDACL.SetProtected(boolflag);


A Boolean value of either TRUE or FALSE.

Return Value

No return value.


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).



See Also

IsProtected Property