18 Jul 2023 10:19 PM
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
Solved! Go to Solution.
18 Jul 2023 10:59 PM
I am not shure, but you can do it by APIs
19 Jul 2023 11:43 AM
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
19 Jul 2023 03:34 PM
following this thread... 👀
01 Aug 2023 08:43 AM - edited 01 Aug 2023 08:43 AM
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
01 Aug 2023 03:21 PM
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!
07 Aug 2023 09:45 AM
Yes we are talking about the same SDK. @sw should know more details
07 Aug 2023 10:10 AM
Sorry for the confusion.
Yes, the SDK package will provide information as:
May I ask for your use case, why do you need the user groups too?
14 Aug 2023 09:28 PM
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.
21 Aug 2023 02:14 PM
Thanks @StephenLHChan for the insights! This won't be part of this package for now, but I'll discuss this with the team.
23 Jul 2024 06:20 PM
Hi @sw ,
Has there been any update on the SDK yet?
22 Aug 2024 08:41 AM
The package providing this information (except user groups) is now available: https://developer.dynatrace.com/develop/sdks/app-environment/
03 Sep 2024 12:51 PM - edited 10 Sep 2024 10:54 AM
I also have the same use case to shield of pages for default users; I would like to be able to access the user groups through the SDK.
10 Sep 2024 11:15 AM
Hi @DaveOps, a new SDK will soon be available to access the user groups. I'll let you know when it's out.
Best, Edu.
12 Sep 2024 03:21 PM
Can I enroll as a beta tester to get early access to the sdk ?