Hi, I'm writing a small administration tool to check a users account in active directory. The adfunctions.au3 have been a great help to me, and I'm quite happy with it, but... One part of it should be to detect whether a user is allowed to change his password (or not), to display this status - and I want to add a button to simply toggle this state. At first I thought "great, there's a flag PASSWD_CANT_CHANGE 0x0040 64" but that ain't work. Found this vbs code: Const ADS_ACETYPE_ACC