User management last connection

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

Hi,

User management API - GET all users  provides “UserLoginMetaDataDto” information.

Best regards

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

Hi,

I can see that endpoint in Managed documentation also:

https://docs.dynatrace.com/managed/shortlink/account-api-users-get-all

Best regards