Check out the code here:
https://github.com/esoui/esoui/blob/..._savedvars.lua
It's the source code for the saved variables.
It looks like you might be able to access it with ZO_SavedVars:New(savedVariableTable, version, namespace, defaults, profile, displayName, characterName, characterId, characterKeyType), by changing the displayName parameter.