Share via


GetAllByEqualMask Method

Topic Last Modified: 2006-06-13

Returns an array of index values of entities in a DACL object that are equal to specified masks.

Applies To

DACL Object

Syntax


NdxArray  objDACL.GetAllByEqualMask(masks);

Parameters

  • masks
    An array of six hexadecimal values. Each mask is the access mask for the Access Control Entry (ACE).

Return Value

An array of returned index values.

Remarks

This method uses the IsEqualMask Method to make comparisons.

Example

var ndxArray = objDacl.GetAllByEqualMask([0x810, 0x3A, 0x0, 0x0, 0x40, 0x0]);
if(ndxArray.length<1){
   //no one had those masks
}

See Also

Other Resources

GetAllByMask Method