# Event trigger when user change name in Zoom UI mode

**URL:** <https://devforum.zoom.us/t/event-trigger-when-user-change-name-in-zoom-ui-mode/64110>\
**Category:** Meeting SDK\
**Created:** [February 10, 2022, 4:04am UTC](https://devforum.zoom.us/t/event-trigger-when-user-change-name-in-zoom-ui-mode/64110 "2022-02-10T04:04:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hong](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hong/32/31541_2.png) [@Hong](https://devforum.zoom.us/u/Hong)\
**Post date:** [February 10, 2022, 4:04am UTC](https://devforum.zoom.us/t/event-trigger-when-user-change-name-in-zoom-ui-mode/64110/1 "2022-02-10T04:04:47Z")

</div>

**Description**  
Is there a way to trigger an event when user changes name in Zoom UI mode?

**Which Desktop Meeting SDK version?**  
5.9.3.3191

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Go to ‘…’
2. Click on ‘…’
3. Scroll down to ‘…’
4. See error

**Screenshots**  
If applicable, add screenshots to help explain your problem.

**Device (please complete the following information):**

- Device: [e.g. Apple MacBook Pro (13-inch, M1)]
- OS: [e.g. macOS Big Sur 11.2.1]

**Additional context**  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 10, 2022, 6:28pm UTC](https://devforum.zoom.us/t/event-trigger-when-user-change-name-in-zoom-ui-mode/64110/2 "2022-02-10T18:28:57Z")

</div>

Hi @Hong,

Whenever a user changes their name in the current meeting, the [`onUserNameChanged`](https://marketplacefront.zoom.us/sdk/meeting/windows/class_i_meeting_participants_ctrl_event.html#a16fc189a2638896a3fcfe52be85e03be) callback will be invoked.

Thanks!

---

<div class="post-metadata">

**Author:** ![Hong](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hong/32/31541_2.png) [@Hong](https://devforum.zoom.us/u/Hong)\
**Post date:** [February 13, 2022, 5:14am UTC](https://devforum.zoom.us/t/event-trigger-when-user-change-name-in-zoom-ui-mode/64110/3 "2022-02-13T05:14:40Z")

</div>

Hi,  
could you double check if that is the case for ZOOM UI mode?  
I do not see it happens. in ZOOM UI mode. However, when I enable the customized UI mode, it invoked when user changes name.  
Do you have an example code to check for this event feature in Zoom UI mode?  
When I add this  
public ZOOM\_SDK\_NAMESPACE::IMeetingParticipantsCtrlEvent

to class CSDKLoggedInUIMgr , I can no longer build the code.

Hong

---

<div class="post-metadata">

**Author:** ![Hong](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hong/32/31541_2.png) [@Hong](https://devforum.zoom.us/u/Hong)\
**Post date:** [February 15, 2022, 11:46pm UTC](https://devforum.zoom.us/t/event-trigger-when-user-change-name-in-zoom-ui-mode/64110/4 "2022-02-15T23:46:58Z")

</div>

Hi Jon,

I managed to get it built with no error. But still no event triggered when user change name in Zoom UI mode. I had the codes , could you be able to give me some help?  
Hong

---

<div class="post-metadata">

**Author:** ![Hong](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hong/32/31541_2.png) [@Hong](https://devforum.zoom.us/u/Hong)\
**Post date:** [February 15, 2022, 11:49pm UTC](https://devforum.zoom.us/t/event-trigger-when-user-change-name-in-zoom-ui-mode/64110/5 "2022-02-15T23:49:00Z")

</div>

Only 4 files that I made changes to test from the SDK Desktop meeting release 5.9.3.3191

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 22, 2022, 9:49pm UTC](https://devforum.zoom.us/t/event-trigger-when-user-change-name-in-zoom-ui-mode/64110/6 "2022-02-22T21:49:50Z")

</div>

Hi @Hong,

Are you using the SDK sample app? If so, that implementation of this callback is only setup when custom meeting UI is enabled. If you want to receive this callback when using the default UI, you would need to create an instance of `IMeetingParticipantsCtrlEvent` and pass it into the [`SetEvent`](https://marketplacefront.zoom.us/sdk/meeting/windows/class_i_meeting_participants_controller.html#a02e8268a7928c04a6abd89907c44076b) function.

Thanks!

---

<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:** [March 25, 2022, 7:50am UTC](https://devforum.zoom.us/t/event-trigger-when-user-change-name-in-zoom-ui-mode/64110/7 "2022-03-25T07:50:13Z")

</div>

Closed on March 25, 2022, 7:50am UTC

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