# How to display user account names in the Lens adoption report?

**URL:** <https://community.dynatrace.com/t/how-to-display-user-account-names-in-the-lens-adoption-report/53479>\
**Category:** Dynatrace Managed\
**Tags:** account-management, dynatrace-managed\
**Created:** [September 24, 2025, 10:08am UTC](https://community.dynatrace.com/t/how-to-display-user-account-names-in-the-lens-adoption-report/53479 "2025-09-24T10:08:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doaa\_Sobhy](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@Doaa\_Sobhy](https://community.dynatrace.com/u/Doaa_Sobhy)\
**Post date:** [September 24, 2025, 10:08am UTC](https://community.dynatrace.com/t/how-to-display-user-account-names-in-the-lens-adoption-report/53479/1 "2025-09-24T10:08:27Z")

</div>

Hello,

From the&nbsp; **Account Management page** of the **managed cluster** , I used the link below to generate a detailed report for adoption and environment.

For the **adoption /&nbsp;user activity** section, it displays&nbsp;the count of active users and user sessions **without** the user names

it’s very important to **get the users accounts who** &nbsp; **accessed Dynatrace over time** ,

Is there any workaround to display **the user account names** &nbsp;in addition to the user sessions and active users count as I can view them from [cluster management / user sessions] page?

[Lens — Dynatrace Managed Docs](https://docs.dynatrace.com/managed/manage/account-management/lens)

 ![Account_Mng_Lens.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/2/d25afdeeed4a307ca2e63787433e26a6115368f1.png)

---

<div class="post-metadata">

**Author:** ![JeanBlanc](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jeanblanc/32/25897_2.png) [@JeanBlanc](https://community.dynatrace.com/u/JeanBlanc)\
**Post date:** [December 10, 2025, 10:47am UTC](https://community.dynatrace.com/t/how-to-display-user-account-names-in-the-lens-adoption-report/53479/2 "2025-12-10T10:47:25Z")

</div>

Hi&nbsp;[@Doaa\_Sobhy](https://community.dynatrace.com/user/81756),

You can get information from **dt.system.events** Grail Table.

For example :

```markup
fetch dt.system.events
| fieldsAdd user.email
| fieldsAdd client.application_context=if(exists(client.application_context),client.application_context,else: "dynatrace.others")
| fieldsAdd dt.app.id=if(isNotNull(dt.app.id),dt.app.id, else: client.application_context)

```

Best regards,

---

<div class="post-metadata">

**Author:** ![Doaa\_Sobhy](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@Doaa\_Sobhy](https://community.dynatrace.com/u/Doaa_Sobhy)\
**Post date:** [December 11, 2025, 8:57am UTC](https://community.dynatrace.com/t/how-to-display-user-account-names-in-the-lens-adoption-report/53479/3 "2025-12-11T08:57:28Z")

</div>

Hi JeanBlanc,

Thanks for your response, but **managed**  **cluster** doesn’t support neither DQL nor Gril

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [December 11, 2025, 9:18pm UTC](https://community.dynatrace.com/t/how-to-display-user-account-names-in-the-lens-adoption-report/53479/4 "2025-12-11T21:18:32Z")

</div>

Hello&nbsp;[@Doaa\_Sobhy](https://community.dynatrace.com/user/81756)

Since Dynatrace Managed does not support Grail or DQL, there’s no direct way to include usernames in the Adoption report from the Lens page. However, you can try Audit Logs API if it works for you.
