Recognition from a compact type and a Casimir eigenvalue
Let $\varepsilon_1,\ldots,\varepsilon_n\in\{\pm1\}$, let $p,q$ count their positive and negative signs, and put $G=U(\operatorname{diag}(\varepsilon_i))$, $K=U(p)\times U(q)$. Let $\lambda_1>\cdots>\lambda_n$ be real numbers. Suppose there is $h>npq+1$ such that $|\lambda_i-\lambda_j|\ge h$ whenever $\varepsilon_i\ne\varepsilon_j$.
Let $\rho$ be an irreducible unitary representation on a complex Hilbert space $H$, with continuous orbit maps. Suppose its smooth vectors contain a nonzero finite-dimensional irreducible $K$-submodule $V$ of highest weight $\kappa=\lambda+\rho_n-\rho_c$, and its complexified infinitesimal action satisfies $$\left(\sum_{i,j}E_{ij}E_{ji}\right)v=\left(\sum_i\lambda_i^2-\sum_i\left(\frac{n+1}2-i\right)^2\right)v\qquad(v\in V).$$ For every discrete-series realization $D$ of parameter $(\varepsilon,\lambda)$ in the convention below, there is a surjective complex-linear isometry $U:H\to H_D$ intertwining $\rho$ and $D$.
$\rho_c$ and $\rho_n$ are the half-sums of $e_i-e_j$, $i<j$, for pairs of equal and unequal signs respectively. The operators $E_{ij}$ denote the complexified matrix-unit Lie algebra actions. A competing discrete-series realization is on a nonzero complete complex inner product space, is unitary and irreducible with continuous orbit maps and square-integrable coefficients for a fixed Haar measure, contains the compact type $\kappa$, and satisfies $\|\kappa+2\rho_c\|_2^2\le\|\mu+2\rho_c\|_2^2$ for every occurring compact highest weight $\mu$. This statement assumes such a realization when comparing to it.