Choose online SubSystem

Hi, i’m starting to work with the online subsystem (steam & epic) and i’m just wondering if there is a way to auto choose an online subsystem to be used for the game ?

some kind of conditional compiler or something like that.

something like if i’m using steam i will look for steam account avatar & steam login name and if i’m using Epic online services i will look for epic avatar & epic account login name.

this can be done ? if yes, can be done in blueprints ?

thanks in advance for all the help.