N.Y. Rural Electric Cooperative Law § 23
(a) An action may be brought against one or more directors or officers of a cooperative to procure a judgment for the following relief:
(b) An action may be brought for the relief provided in this section and in subdivision (a) of section twenty-five of this article by the attorney general, by the cooperative or, in the right of the cooperative by any of the following: