I'm trying to run your code above, but i cannot get the Association value!
Im runng the code from Event Transformation Subscriber on a Loopback driver. The current user is not and will not be associated on the Loopback driver.
I can see the query document in the trace, but result comesback empty in the result. i know the user has 4 DirXML-Associations on the different Idm drivers.
CN is unique.