# How to get to userID?

**URL:** <https://devforum.zoom.us/t/how-to-get-to-userid/1834>\
**Category:** Windows\
**Created:** [October 18, 2018, 4:24pm UTC](https://devforum.zoom.us/t/how-to-get-to-userid/1834 "2018-10-18T16:24:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![1115](https://avatars.discourse-cdn.com/v4/letter/1/9f8e36/32.png) [@1115](https://devforum.zoom.us/u/1115)\
**Post date:** [October 18, 2018, 4:24pm UTC](https://devforum.zoom.us/t/how-to-get-to-userid/1834/1 "2018-10-18T16:24:38Z")

</div>

How to get to user ID?

用来给远程的计算机进行远程控制。

It is used for remote control of remote computers.

谢谢。

Thank you.

Example:

m\_pMeetingServiceMgr-\>m\_pRemoteCtrl-\>GiveRemoteControlTo(\_wtoi64( **strUserID** ));

---

<div class="post-metadata">

**Author:** ![Wilmer\_Sun](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/wilmer_sun/32/61_2.png) [@Wilmer\_Sun](https://devforum.zoom.us/u/Wilmer_Sun)\
**Post date:** [October 19, 2018, 1:44am UTC](https://devforum.zoom.us/t/how-to-get-to-userid/1834/2 "2018-10-19T01:44:16Z")

</div>

Hi,

You can handle the callback event&nbsp;IMeetingRemoteCtrlEvent::onRemoteControlStatus() when the&nbsp;RemoteControlStatus equals to ZOOM\_SDK\_NAMESPACE::Remote\_Control\_I\_Recv\_Request\_Msg. The other parameter in this callback function is the user id.

Otherwise, there is a class IUserInfo in&nbsp;meeting\_participants\_ctrl\_interface.h. Please refer to&nbsp;IMeetingParticipantsController::GetParticipantsList(). You also can handle&nbsp;IMeetingParticipantsCtrlEvent::onUserJoin() to make a local user list.

Hope this is useful for you.

&nbsp;

Regards,

Wilmer

&nbsp;

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 5:57pm UTC](https://devforum.zoom.us/t/how-to-get-to-userid/1834/3 "2020-08-21T17:57:09Z")

</div>

Closed on August 21, 2020, 5:57pm UTC


