# Access to user info (oid) during actions post login

**URL:** <https://community.auth0.com/t/access-to-user-info-oid-during-actions-post-login/92519>\
**Category:** Get Help\
**Tags:** userinfo, azure-ad, user-profile, actions\
**Created:** [October 17, 2022, 12:08pm UTC](https://community.auth0.com/t/access-to-user-info-oid-during-actions-post-login/92519 "2022-10-17T12:08:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![emil.enemaerke](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/emil.enemaerke/32/12752_2.png) [@emil.enemaerke](https://community.auth0.com/u/emil.enemaerke)\
**Post date:** [October 17, 2022, 12:08pm UTC](https://community.auth0.com/t/access-to-user-info-oid-during-actions-post-login/92519/1 "2022-10-17T12:08:44Z")

</div>

Is it possible to access oid from user profile during actions post login?  
I cannot find it in the documentation: [Actions Triggers: post-login - Event Object](https://auth0.com/docs/customize/actions/flows-and-triggers/login-flow/event-object)  
but it is available from Identity Provider Attributes section in user attributes.

It is related to [Post Login Action Enterprise Database Group ID Access - #6 by rueben.tiow](https://community.auth0.com/t/post-login-action-enterprise-database-group-id-access/76688/6) where the problem is lack of access to the AD groups in actions

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 26, 2022, 6:17pm UTC](https://community.auth0.com/t/access-to-user-info-oid-during-actions-post-login/92519/3 "2022-10-26T18:17:48Z")

</div>

Hi @emil.enemaerke,

Thanks for reaching out to the Auth0 Community!

I understand that you are trying to access top lever attributes in a Post-Login Action.

Unfortunately, this is not possible as explained in the FAQ below:

> [@How to access user.groups in Actions?](https://community.auth0.com/t/how-to-access-user-groups-in-actions/84498):
>
> Problem statement Are Top-level IdP user attributes available in Actions? Solution Yes, Top-Level IdP user attributes are available in Actions. This was recently made available as a new capability in Actions (Aug 2023). Please refer to the announcement below for more details. Reference Materials:

In this situation, we recommend using Auth0 Rules to access these attributes.

I hope this helps!

Please reach out if you have any additional questions.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 9, 2022, 6:18pm UTC](https://community.auth0.com/t/access-to-user-info-oid-during-actions-post-login/92519/4 "2022-11-09T18:18:33Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
