다음을 통해 공유


GetEntityByIndex Method

Topic Last Modified: 2006-06-13

Returns an entity object by its index in the DACL object.

Applies To

DACL Object

Syntax


objEntity  objDACL.GetEntityByIndex(NIndex);

Parameters

  • NIndex
    An integer value of the index of the entity in the DACL object.

Return Value

A returned entity object.

Remarks

This entity object collection is zero-based.

Example

var objEntity = objDacl.GetEntityByIndex(2);   //get the 3rd entity
if(null == objEntity){
   //no third entity
}

See Also

Other Resources

GetAllBySIDType Method