# User management last connection

**URL:** <https://community.dynatrace.com/t/user-management-last-connection/49334>\
**Category:** Dynatrace Managed\
**Tags:** dynatrace-managed, user-sessions\
**Created:** [December 12, 2024, 1:52pm UTC](https://community.dynatrace.com/t/user-management-last-connection/49334 "2024-12-12T13:52:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JeanMichelB](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@JeanMichelB](https://community.dynatrace.com/u/JeanMichelB)\
**Post date:** [December 12, 2024, 1:52pm UTC](https://community.dynatrace.com/t/user-management-last-connection/49334/1 "2024-12-12T13:52:07Z")

</div>

Hi,

We want to retrieve the date of the last connection of the users from our Dynatrace Managed (serveral cluster with several environement). We could retrieve some informations from the API V2 GET /userSessions, but the number of data is very low. Is there a way to retreive more data from this API? Is there a limitation in time? If yes is there a way to remove it?

Best regards,

Jean-Michel Béranger

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [December 13, 2024, 8:37am UTC](https://community.dynatrace.com/t/user-management-last-connection/49334/2 "2024-12-13T08:37:59Z")

</div>

Hi,

[User management API - GET all users](https://docs.dynatrace.com/docs/shortlink/account-api-users-get-all)&nbsp;&nbsp;provides “UserLoginMetaDataDto” information.

Best regards

---

<div class="post-metadata">

**Author:** ![JeanMichelB](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@JeanMichelB](https://community.dynatrace.com/u/JeanMichelB)\
**Post date:** [December 13, 2024, 10:25am UTC](https://community.dynatrace.com/t/user-management-last-connection/49334/3 "2024-12-13T10:25:02Z")

</div>

Hi AntonPineiro,

Thanks for your reply, but I can’t find this endpoint on my managed cluster, I have this one =\> /api/v1.0/onpremise/users, but there is no timestamp retruned.

I guess this info is only avaible for SAAS users ?

Best regards,

Jean-Michel Béranger

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [December 13, 2024, 11:47am UTC](https://community.dynatrace.com/t/user-management-last-connection/49334/4 "2024-12-13T11:47:01Z")

</div>

Hi,

I can see that endpoint in Managed documentation also:

[https://docs.dynatrace.com/managed/shortlink/account-api-users-get-all](https://docs.dynatrace.com/managed/shortlink/account-api-users-get-all)

Best regards
