I got a workaround for the attribute I initially wanted is:
System.log("aduser" + adUser); var attribs = adUser.allAttributes; System.log("========== All Attributes ==========="); for each (attrib in attribs){ if (attrib.name == "mail") { System.log("attribute: "+attrib.name+ "("+adUser.getAttribute(attrib.name)+")"); } }
So basically, instead of printing all the variables, I used the Inventory>AD>User>Variables to find the actual attribute I wanted and then filtered that one in the above code.
Thanks
B