Share via


GetAllByMask Method

Topic Last Modified: 2006-06-13

Returns an array of index values of entities in a DACL object that match specified masks.

Applies To

DACL Object

Syntax


NdxArray  objDACL.GetAllByMask(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 HasMask Method to make comparisons.

Example

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

See Also

Other Resources

GetAllByEqualMask Method