How to determine the type of the user object?

Is there a way, via simconnect, to determine the actual type of the user object (e.g. Airplane vs Helicopter, and maybe boat/ground/avatar)?