# Get my\_user\_ID after join meeting

**URL:** <https://devforum.zoom.us/t/get-my-user-id-after-join-meeting/46404>\
**Category:** Android\
**Created:** [March 24, 2021, 4:52am UTC](https://devforum.zoom.us/t/get-my-user-id-after-join-meeting/46404 "2021-03-24T04:52:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![johntaufg](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@johntaufg](https://devforum.zoom.us/u/johntaufg)\
**Post date:** [March 24, 2021, 4:52am UTC](https://devforum.zoom.us/t/get-my-user-id-after-join-meeting/46404/1 "2021-03-24T04:52:37Z")

</div>

Hi,

I want to get my\_user\_ID after join meeting. I see there is a getMyUserID() function ([InMeetingService (Zoom.us SDK API Document)](https://marketplacefront.zoom.us/sdk/meeting/android/us/zoom/sdk/InMeetingService.html#getMyUserID--_)) may I know how do we call that function? Is there any callback for meetingService.joinMeetingWithParams(mContext, params, options); so that I can call getMyUserID() after join successfully?

Thanks,

---

<div class="post-metadata">

**Author:** ![alexmayo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alexmayo/32/27289_2.png) [@alexmayo](https://devforum.zoom.us/u/alexmayo)\
**Post date:** [March 24, 2021, 8:39am UTC](https://devforum.zoom.us/t/get-my-user-id-after-join-meeting/46404/2 "2021-03-24T08:39:27Z")

</div>

Hi @johntaufg,

To get your user ID, you would simply call…

`ZoomSDK.getInstance().getInMeetingService().getMyUserID()`

With regards to callbacks, the joinMeetingWithParams() method returns a constant from [MeetingError (Zoom.us SDK API Document)](https://marketplacefront.zoom.us/sdk/meeting/android/us/zoom/sdk/MeetingError.html) - From here you should be able to determine if it was successful or not.

You can also use the [MeetingEvent](https://marketplacefront.zoom.us/sdk/meeting/android/us/zoom/sdk/MeetingEvent.html) class to see whether or not a user joined successfully.

Thanks,  
Alex

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 24, 2021, 5:59pm UTC](https://devforum.zoom.us/t/get-my-user-id-after-join-meeting/46404/3 "2021-03-24T17:59:54Z")

</div>

Thanks for sharing the solution @alexmayo ! 🙂

@johntaufg , please let us know if you have any other questions.

-Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 24, 2021, 3:59am UTC](https://devforum.zoom.us/t/get-my-user-id-after-join-meeting/46404/4 "2021-04-24T03:59:57Z")

</div>

Closed on April 24, 2021, 3:59am UTC

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