Hydrolyzes ADP-ribose, IDP-ribose, CDP-glycerol, CDP-choline and CDP-ethanolamine, but not other non-reducing ADP-sugars or CDP-glucose. May be involved in immune cell signaling as suggested by the second-messenger role of ADP-ribose, which activates TRPM2 as a mediator of oxidative/nitrosative stress (By similarity).