# Detect user's IAM roles

**URL:** <https://community.dynatrace.com/t/detect-users-iam-roles/39417>\
**Category:** Developer Q&A Forum\
**Created:** [April 24, 2023, 6:55am UTC](https://community.dynatrace.com/t/detect-users-iam-roles/39417 "2023-04-24T06:55:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucas\_hocker](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/lucas_hocker/32/29551_2.png) [@lucas\_hocker](https://community.dynatrace.com/u/lucas_hocker)\
**Post date:** [April 24, 2023, 6:55am UTC](https://community.dynatrace.com/t/detect-users-iam-roles/39417/1 "2023-04-24T06:55:24Z")

</div>

I can’t find an SDK to read the user’s IAM roles. Currently, I’m having to do a bunch of error handling and presenting Toast when a user is missing a role. It would be much more preferable to be able to query whether a user has the necessary roles, so the UX can be tailored to what they can do. For example, if they lack a permission for an API call, disable the button that would fire that call.

---

<div class="post-metadata">

**Author:** ![florian\_AIgner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/florian_aigner/32/37751_2.png) [@florian\_AIgner](https://community.dynatrace.com/u/florian_AIgner)\
**Post date:** [April 24, 2023, 12:24pm UTC](https://community.dynatrace.com/t/detect-users-iam-roles/39417/2 "2023-04-24T12:24:57Z")

</div>

Hi Lucas,

we have an item on our roadmap that will address your issue. We expect to deliver this in CQ3 this year.

Best regards,

Florian

---

<div class="post-metadata">

**Author:** ![debbie\_lelek](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@debbie\_lelek](https://community.dynatrace.com/u/debbie_lelek)\
**Post date:** [September 27, 2023, 3:34pm UTC](https://community.dynatrace.com/t/detect-users-iam-roles/39417/3 "2023-09-27T15:34:52Z")

</div>

Hi Florian -

I was wondering if there is an update on this feature,

deb
