Catalysis of an oxidation-reduction (redox) reaction in which a nitrogenous group, excluding NH and NH2 groups, acts as a hydrogen or electron donor and reduces NAD or NADP.
oxidoreductase activity, acting on other nitrogenous compounds as donors, with NAD or NADP as acceptor