  We find the entropy functions of supersymmetric black holes in AdS$_4$ and
AdS$_6$ with electric charges and angular momenta. Extremizing these functions,
one obtains the entropies and the chemical potentials of known analytic black
hole solutions.
