FIM Functions Updated, Bitwise Functions
In addition to the official reference for functions I thought I would update my examples from back in the ILM 2 Beta days
Function Name
BitAnd
Parameters
-
mask Type: Integer
-
flag Type: Integer
Description
BitAnd is a bitwise operation anding mask and flag. So if Flag is the UserAccountControl Attribute in AD and mask is **-3
**(the 64-bit 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.