Hello,
quick question. my dashboard (licensed) is running on an IIS. everthing works fine. but when I use env:username in my scripts the server account shows up instead of the user using the dashboard. is there a solution to this?
thanks in advance
$User will return the user accessing dashboard if you are using Authentication
Using Windows Authentication and I already tried $User. Variable seems to be empty. I will debug it tomorrow.
Or do you mean something like this:
$Authentication = New-UDAuthenticationMethod -Windows
ok, it’s working. the combination of New-UDLoginPage and New-UDAuthenticatoinMethod was the key and using $User or $ClaimPrinciple.Identity.Name in the -Endpoint section