How can I get grafana login name and show it on a dashboard

for example:
now I login grafana with user name ‘admin’, and then open a dashboard, I wish to get and show this user name on the dashboard, how can I get this user name, is it going to be a built-in variable like $__interval?

I have got this, this feature was added in Grafana v7.1+


Only available in Grafana v7.1+

${} is the ID of the current user. ${__user.login} is the login handle of the current user.

Dear My friends…!

how to LOGIN to grafana which it FORGOT of PASWORD

Thank for cooperation and kind attention


how can I show the username using Prometheus as data source?
What is an example of query?

Thanks in advance.