# How to hide invite menu item in v5.2.41735.0929

**URL:** <https://devforum.zoom.us/t/how-to-hide-invite-menu-item-in-v5-2-41735-0929/32894>\
**Category:** macOS\
**Created:** [October 12, 2020, 2:51am UTC](https://devforum.zoom.us/t/how-to-hide-invite-menu-item-in-v5-2-41735-0929/32894 "2020-10-12T02:51:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![powerguan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/powerguan/32/3486_2.png) [@powerguan](https://devforum.zoom.us/u/powerguan)\
**Post date:** [October 12, 2020, 2:51am UTC](https://devforum.zoom.us/t/how-to-hide-invite-menu-item-in-v5-2-41735-0929/32894/1 "2020-10-12T02:51:57Z")

</div>

**Description**  
I found a new invite menu item is added in ParticipantButton. I want to remove it, but I don’t know how to implement it.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/5/45b7a4a073501b02e838fe2d019e9037dec28815.jpeg)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/1/0122067efa9df3a160ce3800395766d72d3f6b09.png)  
**Which version?**  
[v5.2.41735.0929](https://github.com/zoom/zoom-sdk-macos/releases/tag/v5.2.41735.0929)

**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.

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

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Version [e.g. 22]

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

---

<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:** [October 12, 2020, 2:05pm UTC](https://devforum.zoom.us/t/how-to-hide-invite-menu-item-in-v5-2-41735-0929/32894/2 "2020-10-12T14:05:31Z")

</div>

Hi,

Please see the following documentation: [https://zoom.github.io/zoom-sdk-windows/class\_i\_meeting\_u\_i\_elem\_configuration.html#a77ec810cbf772b1744b032d158057c12](https://zoom.github.io/zoom-sdk-windows/class_i_meeting_u_i_elem_configuration.html#a77ec810cbf772b1744b032d158057c12)

To hide the Invite UI, use `EnableInviteButtonOnMeetingUI(FALSE)`

Thanks,  
Alex

---

<div class="post-metadata">

**Author:** ![powerguan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/powerguan/32/3486_2.png) [@powerguan](https://devforum.zoom.us/u/powerguan)\
**Post date:** [October 12, 2020, 3:52pm UTC](https://devforum.zoom.us/t/how-to-hide-invite-menu-item-in-v5-2-41735-0929/32894/3 "2020-10-12T15:52:41Z")

</div>

this function can hide invite button in toolbar. but can’t hide invite menu item and invite buttion under Participant list dialog.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [October 17, 2020, 2:43am UTC](https://devforum.zoom.us/t/how-to-hide-invite-menu-item-in-v5-2-41735-0929/32894/4 "2020-10-17T02:43:34Z")

</div>

Hi @powerguan,

Thanks for the post. Please have a try with the following(You may refer to:[https://github.com/zoom/zoom-sdk-electron/blob/e523162188efcd8bdf2e33ef0c70c2554bd07839/lib/node\_add\_on/mac/meeting\_config\_service.mm#L40](https://github.com/zoom/zoom-sdk-electron/blob/e523162188efcd8bdf2e33ef0c70c2554bd07839/lib/node_add_on/mac/meeting_config_service.mm#L40)):

```auto
ZoomSDKMeetingService *service = [[ZoomSDK sharedSDK] getMeetingService];
    if (!service){
        return ZNSDKERR_SERVICE_FAILED;
    }
    ZoomSDKMeetingConfiguration *config = [service getMeetingConfiguration];
    if (service && config) {
        config.hideInvitButtonOnHCWindow = (bEnable == YES) ? NO : YES;
    }

```

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![powerguan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/powerguan/32/3486_2.png) [@powerguan](https://devforum.zoom.us/u/powerguan)\
**Post date:** [October 19, 2020, 6:28pm UTC](https://devforum.zoom.us/t/how-to-hide-invite-menu-item-in-v5-2-41735-0929/32894/5 "2020-10-19T18:28:28Z")

</div>

Hi @carson.zoom  
Thank your help, follow your suggestion, I hide this button.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [October 24, 2020, 8:38am UTC](https://devforum.zoom.us/t/how-to-hide-invite-menu-item-in-v5-2-41735-0929/32894/6 "2020-10-24T08:38:42Z")

</div>

Glad to be helpful. I will go ahead and close this thread. Please feel free to create another post if any other questions. 🙂

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [October 24, 2020, 8:38am UTC](https://devforum.zoom.us/t/how-to-hide-invite-menu-item-in-v5-2-41735-0929/32894/7 "2020-10-24T08:38:45Z")

</div>

Closed on October 24, 2020, 8:38am UTC


