User name/email in embed src

My greatest challenge, I can’t use Softr until I solve for this and I’ve no idea how.

<iframe width="600" height="450"

src=“https://mylink/...............logged_in_user(Name or Email or ID)…”

frameborder=“0” style=“border:0”

@Davidirawatts can you pls share some context what you are trying to achieve ?

I would like to pass the current logged in user (Softr), as a variable into my embed code included in the src as concatenation. So each user logged into Softr will see their own dynamic embed outcome.

One option could be to do something like

document.addEventListener("DOMContentLoaded", function() {
    const sectior = 'your-selector';
    const yourIframeUrlWithParameters = '';
    const embed = '<iframe class="embed" src="'+yourIframeUrlWithParameters+'" frameborder="0" width="100%" height="533"></iframe>';