(a) Except as provided in subsection (b), the validity of corporate action may not be challenged on the ground that the corporation lacks or lacked power to act.
(b) A corporation's power to act may be challenged:
(1) In a proceeding by a shareholder against the corporation to enjoin the act;
(2) In a proceeding by the corporation, directly, derivatively, or through a receiver, trustee, or other legal representative, against an incumbent or former director, officer, employee, or agent of the corporation; or
(3) In a proceeding by the Attorney General under G.S. 55-14-30.
(c) In a shareholder's proceeding under subsection (b)(1) to enjoin an unauthorized corporate act, the court may enjoin or set aside the act, if equitable and if all affected persons are parties to the proceeding, and may award damages for loss (other than anticipated profits) suffered by the corporation or another party because of enjoining the unauthorized act. (Code, ss. 607, 686; 1901, c. 2, s. 107; Rev., s. 1197; C.S., s. 1143; G.S., 55-47; 1955, c. 1371, s. 1; 1989, c. 265, s. 1.)