cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dynatrace App Current user information

StephenLHChan
Contributor

Hey,

We are trying to build an app. We need the current user information, like name, login id/email, user groups, for further processing. Is there any SDK available that can return me this kind of information?

 

Thanks.

Stephen

9 REPLIES 9

Iplinsky
Advisor

I am not shure, but you can do it by APIs

Dynatrace Certified

sinisa_zubic
Dynatrace Champion
Dynatrace Champion

Hi @StephenLHChan 

The team is currently working on an SDK which should give you such kind of information. Unfortunately I can't give you an ETA for it.


Best,
Sini

jellypuno
Dynatrace Organizer
Dynatrace Organizer

following this thread... 👀

Magandang araw sa inyong lahat! 🙂

sw
Dynatrace Helper
Dynatrace Helper

Hi @StephenLHChan, the SDK package is planned for 23CQ3.

In the meanwhile, you could use the service documented in the swagger spec:

https://{environmentid}.apps.dynatrace.com/platform/swagger-ui/index.html?urls.primaryName=Identity%20and%20Access%20Management

 

Hi @sw and @sinisa_zubic ,

Are you guys talking the same SDK?

Apologize if there is any misleading at my question.

@sw gave the url which is the endpoint get all users' information but what I am looking for is if there is a way to get the current user information who use the app.

For example, userA click on the app and the SDK will return userA's information to me. And, I will know userA had used the app. I may then ingest logs/ custom events to Dynatrace after userA triggered certain actions.

It is to fulfil some audit requirements at my company.

 

Thanks!

Yes we are talking about the same SDK. @sw should know more details

sw
Dynatrace Helper
Dynatrace Helper

Hi @StephenLHChan 

Sorry for the confusion.
Yes, the SDK package will provide information as:

  • currently logged in user
  • Environment ID and URL
  • App ID, name, version

May I ask for your use case, why do you need the user groups too?

hi @sw 

it is for access right control. If I know the user group of the users, I can limited certain pages of the app only to some users.

 

sw
Dynatrace Helper
Dynatrace Helper

Thanks @StephenLHChan  for the insights! This won't be part of this package for now, but I'll discuss this with the team.

Featured Posts