X-Ray Photoelectron Spectroscopy (XPS) has been utilized to extract local electrical potential profiles by recording core-level binding energy shifts upon application of the AC [square-wave (SQW)] bias with different frequencies. An electrochemical system consisting of a coplanar capacitor with a polyethylene membrane (PEM) coated with the Ionic Liquid (IL) N,N-diethyl-Nmethyl-N-(2-methoxyethyl) ammonium bis(trifluoromethanesulfonyl)imide (DEME-TFSI) as the electrolyte is investigated. Analyses are carried out in operando, such that XPS measurements are recorded simultaneously with current measurements. ILs have complex charging/discharging processes, in addition to the formation of Electrical Double Layers (EDL) at the interfaces, and certain properties of these processes can be captured using AC modulation within appropriate time windows of observation. Herein, we select two frequencies, namely, 10 kHz and 0.1 Hz, to separate effects of the fast polarization and slow migratory motions, respectively. Moreover, the local potential developments after adding two equivalent series resistors at three different physical positions of the device have been carefully evaluated from the binding energy shifts in the F 1s peak representing the anion of the IL. This circuit modification allows us to quantify the AC currents passing through the device, as well as the system's impedance, in addition to revealing the potential variations due the IR drops. The complex AC-modulated local XPS data recorded can also be faithfully reproduced using the unmodulated F 1s spectrum and by convoluting it with electrical circuit output provided by the LT-Spice software. The outcome of these efforts is a more realistic equivalent circuit model, which can be related to chemical/physical makeup of the electrochemical system. An important finding of this methodology emerges as the possibility to induce additional local electrical field developments within the device, the directions of which can be reversed controllably.