Catalysis of the reaction: NAD+ + H2O = nicotinamide + ADP-ribose, in a two steps reaction: first an ADP-ribosyl cyclase reaction, followed by a cyclic ADP-ribose hydrolase reaction.
ADP-ribosyl cyclase/cyclic ADP-ribose hydrolase