Displaying different data based on user

Displaying different data based on user

avatar

Is there a way to check who the logged in user is when they are viewing a dashboard?

I have a dashboard created for our managers that provides insight into their teams, and I’d like to dynamically read who the user it and automatically display their team data.

Product: PowerShell Universal
Version: 1.4.6


avatar
(anonymous user)

Recommended Answer

The $User variable will contain the username of the logged in user
Variables - PowerShell Universal

All Comments (1)

avatar

The $User variable will contain the username of the logged in user
Variables - PowerShell Universal