View interactive report runners
Use the REPORT_RUNNER_EMAIL
environment variable to view the emails of those viewers who run interactive reports (initiators). This information can help you, as a report owner, modify the content of your report based on which user is viewing or running it. For example, you can change the options available in the interactive controls used in the report, or hide certain categories from the tables provided in it.
Cases of when the REPORT_RUNNER_EMAIL
environment variable is populated are different in the On-Premises and Cloud versions of Datalore.
On-Premises | Cloud plan | Cloud Free plan |
---|---|---|
For all types of authorized users:
| For certain users:
| For one user type only:
|
To access the environment value, you can use the os
module: