RemoveByIndex Method
Topic Last Modified: 2006-06-13
Removes an entity object from a DACL object by its index.
Applies To
Syntax
objResult objDACL.RemoveByIndex(nIndex);
Parameters
- nIndex
An integer value of the index of the entity in the DACL object.
Return Value
An object that returns error codes and descriptions.
Remarks
Entity objects in a DACL are zero-based. The index for the first entity in the DACL is zero.
Example
var objErr = objDacl.RemoveByIndex(2);
if(FAILED(objErr.number)){
//there was an error removing the third entity, print objErr.description
}