I don't think it is possible to query the account details used to log into IBM RPA Studio programmatically (API documentation).
If instead, you want to get the account being used to log into Windows, that's another thing and you might be able to do it. Check environment variables for this information.
Another solution is to set the environment variables yourself and use them in the robot code. You could have different values for the dev machine and others for production.
------------------------------
Vinicius Marques
------------------------------
Original Message:
Sent: Thu February 22, 2024 02:24 AM
From: Tushar Pandey
Subject: Fetching the Email ID which was used to login into IBM RPA Launcher/Studio
Hi, I need to extract the email ID which is used to run a bot by logging into the IBM RPA Studio or IBM RPA Launcher so that I can send the mail to the same Email address.
------------------------------
Tushar Pandey
------------------------------