Whenever such action is brought, the Attorney General, in addition to the statement of the cause of action, may also set forth in the complaint the name of the person rightly entitled to the office, with a statement of his right thereto.
Ca. Civ. Proc. Code § 804