Pharmacology

True regarding acetazolamide is :