To get ActiveSync attributes for a specific ActiveDirectory object (i.e. user), you can use the CASMailbox class.
It has a constructor that uses ADObject, and then gives you several properties, such as HasActiveSyncDevicePartnership - you can even change them (provided that you need permissions).
EDIT - according to the comments:
The CASMailbox class has everything you ask for.
For example, ActiveSyncMailboxPolicy , which is an ADObjectId , which in turn can be requested for several properties ...
Another example is ActiveSyncAllowedDeviceIDs , which is MultiValuedProperty , which you can request for DeviceID, etc.
This method of accessing properties may not be very pleasant, but it certainly gives you all the information ... if you want to get some pretty good source code (which in this case works with PS), see <a2>
source share