Announcements
Is there a way to get the name of the user running the desktop flow ?
Hi @GanCW
Via the PAD flow you can get it using the below in the "Run DOS command" action.
Use any one of the below commands
- whoami
- echo %%username%%
Not sure where you need this available but you can write it to a shared file or anywhere else depending on your usecase.
Hi @GanCW ,
Go to System>select Get Windows Environment Variable
You can get username, domain etc.
Let me know if any queries.
If you like my response, please give it a Thumbs Up.If this helps, please Accept as solution.
RegardsKaif
Thanks. This works
Thanks for the solution
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Mohsin Ali 414
11manish 331 Super User 2026 Season 2
M Bilal Khan 274