# Is there a way we can access the external\_id from SSO record of another user?

**URL:** <https://meta.discourse.org/t/is-there-a-way-we-can-access-the-external-id-from-sso-record-of-another-user/300989>\
**Category:** SSO\
**Created:** [March 26, 2024, 12:43pm UTC](https://meta.discourse.org/t/is-there-a-way-we-can-access-the-external-id-from-sso-record-of-another-user/300989 "2024-03-26T12:43:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![junbetterway](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/junbetterway/32/372464_2.png) [@junbetterway](https://meta.discourse.org/u/junbetterway)\
**Post date:** [March 26, 2024, 12:43pm UTC](https://meta.discourse.org/t/is-there-a-way-we-can-access-the-external-id-from-sso-record-of-another-user/300989/1 "2024-03-26T12:43:40Z")

</div>

We have no issue accessing the `external_id` from SSO record of the current logged-in user using below approach:

`api.getCurrentUser().external_id`

However, we have some buttons/links when the current logged-in user is viewing another one’s profile summary ( **e.g.,** Person X). This `external_id` is the primary identifier used in our website which we will be using for some redirects and actions from our website. Using the admin user API works but obviously not for non-admin user accounts.

Is this possible and how?

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-way-we-can-access-the-external-id-from-sso-record-of-another-user/300989)._
