When it shall appear to the board that any person has engaged or is about to engage in any act or practice constituting a violation of any provision of this chapter or any rule or order hereunder, the board in its discretion and in its own name may bring an action in any court of competent jurisdiction to enjoin such acts or practices, and to enforce compliance with this chapter or any rule or order hereunder, regardless of whether criminal proceedings have been or may be instituted. Upon a proper showing, a permanent or temporary injunction, restraining order or writ of mandamus shall be granted.
Ala. Code § 34-8A-17 (1975)