Using forge to create confluence user Macro for Confluence Cloud

Hello All,

We are migrating Confluence on-prem to Confluence Cloud. We have encountered some issues migrating user macros to cloud. I have been tasked to recreate all the user Macros using Forge. I have installed forge and have been able to create the Hello World App. I was able to upload it to my Atlassian confluence cloud instance. My question is how do I create below user macro as I am not a developer. Kindly assist.

Felix

@noparams

$req.userPrincipal.email