Stanford U claims the Sun is a Dynamo, in fact a Double Dynamo producing a Magnetic Field that affects Earth’s Magnetosphere, hence forth called “Space Weather” which can as of Oct 1, 2016 be predicted accurately in advance.
Dynamos produce DC Electrical Current using a rotating Commutator. The question is still: How is the Sun a Dynamo? Nuclear Fusion turns Hydrogen into Helium with the resultant loss in Mass converted to streams of Electrons. This is not a Dynamo.
Man can and does affect the Magnetosphere using Electro-magnetic Scalar Weapons, but once again, the Sun is not the cause; man is.