Using the new Modal Driven app Command Button and PowerFX, I can't seem to be able to retrieve the current logged in users name or email.
I tried User().email but it returns a blank value.

Using the new Modal Driven app Command Button and PowerFX, I can't seem to be able to retrieve the current logged in users name or email.
I tried User().email but it returns a blank value.
Hi @JonnyBoy73 ,
You could find that the User() function is not supported with commanding in model-driven app.
You could consider embeding a canvas app within and use the User() fucntion instead.
Or you could write a script as below to to get the loggin user
var UserName = Xrm.Page.context.getUserName();