# How can I get member Participant Id from electron Zoom SDK using Default UI

**URL:** <https://devforum.zoom.us/t/how-can-i-get-member-participant-id-from-electron-zoom-sdk-using-default-ui/70079>\
**Category:** Electron\
**Created:** [June 7, 2022, 12:51pm UTC](https://devforum.zoom.us/t/how-can-i-get-member-participant-id-from-electron-zoom-sdk-using-default-ui/70079 "2022-06-07T12:51:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![niravd](https://avatars.discourse-cdn.com/v4/letter/n/9de0a6/32.png) [@niravd](https://devforum.zoom.us/u/niravd)\
**Post date:** [June 7, 2022, 12:51pm UTC](https://devforum.zoom.us/t/how-can-i-get-member-participant-id-from-electron-zoom-sdk-using-default-ui/70079/1 "2022-06-07T12:51:42Z")

</div>

Currently I am using  
Electron sdk version - 5.7.1.644  
I am using Default UI to join the meeting in electron. I want to know how can I get participant ID of self joining member from zoomsdk

Thank you  
Nirav Desai

---

<div class="post-metadata">

**Author:** ![niravd](https://avatars.discourse-cdn.com/v4/letter/n/9de0a6/32.png) [@niravd](https://devforum.zoom.us/u/niravd)\
**Post date:** [June 9, 2022, 5:43pm UTC](https://devforum.zoom.us/t/how-can-i-get-member-participant-id-from-electron-zoom-sdk-using-default-ui/70079/2 "2022-06-09T17:43:09Z")

</div>

I was able to get some crack on the above mentioned question currently I am using

```auto
function meetinguserjoincb(useritem) {
  useritem.forEach(function (user, i){
    let userObj = zoomparticipantsctrl.GetUserInfoByUserID(user.userid);
    if (userObj.isMySelf == true) {
       console.log("my user id is", user.userid );
    }
  });
}

```

the above mentioned method I am using to get the current userid.

But the issue with this is I am getting same userid for multiple participants.  
Most of the repeated userids are  
16778240,  
16779264,  
16780288,  
16779264

These ids are most commonly we get as response as userid for participants in meeting.  
Kindly suggest.

---

<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:** [July 10, 2022, 3:43am UTC](https://devforum.zoom.us/t/how-can-i-get-member-participant-id-from-electron-zoom-sdk-using-default-ui/70079/3 "2022-07-10T03:43:10Z")

</div>

Closed on July 10, 2022, 3:43am UTC

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