Originally Posted By: Richard H.
 Originally Posted By: apronk
Hmmm, I know kix doesn't support True and False statements, but this seems to work for me as well:
 Code:
$usr.AccountDisabled = False

It works by accident of the way that the interpreter deals with unknowns, so don't rely on it.

KiXtart supports the right types for TRUE / FALSE, so you just need to declare them:
 Code:
Global $TRUE   $TRUE=Not 0
Global $FALSE  $FALSE=Not $TRUE
...
$usr.AccountDisabled = $FALSE

Which is not per definition true (ehm ascii true.. hehe)
The "Not 0" statement doesn't always work in COM aquired boolean values. So it is subject to change with every COM object you're attempting to use.