ILM 2 Functions Explained
Function Name Parameters David’s Description Example Example Explanation BitAnd mask Type: Integer flag Type: Integer BitAnd is a bitwise operation anding mask and flag. So if Flag is the UserAccountControl Attribute in AD and mask is negative 2147483645 (the two’s complement of 2) Then the result is that the disable bit (bit 2) is turned off leaving all of the other bits unchanged. BitAnd can be combined with Eq to detect if a bit is set