While not the solution you are looking for, there is a way to leverage vbscript right in kix...

Although I could not completely test this, it should get you in the right direction. You will need GetADUserProperties() to make this work:

$sc = CreateObject("ScriptControl")
$sc.language = "VBScript"
$sc.timeout = -1
? $sc.codeobject.msds

I would be willing to bet there is some other type of AD query that can get this info too.