SearchForIndexByMask Method

Topic Last Modified: 2006-06-13

Returns the index of an entity in a DACL object by specified masks.

Applies To

DACL Object

Syntax


ndxEntity  objDACL.SearchForIndexByMask(masks);

Parameters

  • masks
    An array of six hexadecimal values that represent the entity s permissions.

Return Value

A long value of the entity s index. This method returns a negative number if the entity is not found.

Remarks

If there is more than one entity in the DACL with the same set of masks, this method only returns one object of the first matched set.

Indexes are zero-based.