RemoveInheritedEntities Method

Topic Last Modified: 2006-06-13

Removes inherited entity objects from a DACL object.

Applies To

DACL Object

Syntax


objResult  objDACL.RemoveInheritedEntities()

Return Value

An object that returns error codes and descriptions.

Remarks

This method finds and removes entities in the DACL object whose inherited attribute is TRUE.

Example

var objErr = objDacl.RemoveInheritedEntities();
if( 0 = objErr.number){
    //0 means no error, some inherited entities were removed
    //1 means no error, but no inherited entities were found to remove
}