다음을 통해 공유


GetAllBySIDType Method

Topic Last Modified: 2006-06-13

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

Applies To

DACL Object

Syntax


NdxArray  objDACL.GetAllBySIDType(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.

Example

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

See Also

Other Resources

GetEntityByIndex Method