Invoke-PSUScript -Useraccount showing up in admin UI

Product: PowerShell Universal
Version: 3.8.12

I have a dashboard that runs a script behind the scenes. Ran into this… Looks like you can pass -UserAccount to invoke-psuscript and that will show up in the PSU UI.

Invoke-PSUScript -Script $Script -UserAccount "dumbo" | Tee-Object -Variable Job | Wait-PSUJob

image

I didnt find anything in your docs. Is this intended? github docs

Update:

Looking further into it. I think it has something to do with updating the $User

$User = $($InputItem.txtIdentity).Trim()