Three outlets? I only have two. Either way, they are always on--connected through separate fuses to the battery.
RAP power is controlled through the data bus. Long wheel base models have a relay controlled by the BCM that provides RAP power to the sunroof and third windows. (SWB sunroofs have RAP power applied directly from the BCM, no relay). If you want one controlled by RAP you could rewire it to a relay controlled by the sunroof's RAP circuit.