# Possible to bind bind host to a certain user?

**URL:** <https://devforum.zoom.us/t/possible-to-bind-bind-host-to-a-certain-user/59899>\
**Category:** Web\
**Created:** [November 8, 2021, 6:13am UTC](https://devforum.zoom.us/t/possible-to-bind-bind-host-to-a-certain-user/59899 "2021-11-08T06:13:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![simkin](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/simkin/32/31663_2.png) [@simkin](https://devforum.zoom.us/u/simkin)\
**Post date:** [November 8, 2021, 6:13am UTC](https://devforum.zoom.us/t/possible-to-bind-bind-host-to-a-certain-user/59899/1 "2021-11-08T06:13:59Z")

</div>

**Description**  
In my online class app, the teacher should always be the host.  
a) is it possible to prevent the client from connecting unless a host is present (for students)?  
b) is it possible to bind the host privilege to whoever started the session (teacher)?  
for instance, let’s say the teacher gets disconnected, reconnects, and gets host powers  
again.

---

<div class="post-metadata">

**Author:** ![muellseb](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/muellseb/32/31903_2.png) [@muellseb](https://devforum.zoom.us/u/muellseb)\
**Post date:** [November 8, 2021, 7:35am UTC](https://devforum.zoom.us/t/possible-to-bind-bind-host-to-a-certain-user/59899/2 "2021-11-08T07:35:13Z")

</div>

Hi Simkin,

yes it is.  
a) For preventing a client to join you can implement your business logic in the API which gets called for creating the session signature.  
You can also do some checks with the new [Video SDK API](https://marketplace.zoom.us/docs/api-reference/zoom-video-sdk-api/sessions/sessionusers).  
We are using this API to notify offline users when a session was started / joined by a certain person.

b) For managing the host per session checkout the [essential guide](https://marketplace.zoom.us/docs/sdk/video/web/essential/sessions).  
The first person who creates the session signature will be the host of the session.  
You can make another participant the host or a manager with higher privileges.  
Checkout the [VideoClient SDK reference](https://marketplace.zoom.us/docs/sdk/video/web/reference).

---

<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:** [November 8, 2021, 6:06pm UTC](https://devforum.zoom.us/t/possible-to-bind-bind-host-to-a-certain-user/59899/3 "2021-11-08T18:06:32Z")

</div>

Thanks for sharing the solution @muellseb ! 🙂

@simkin , let us know if this helps!

-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:** [December 9, 2021, 4:06am UTC](https://devforum.zoom.us/t/possible-to-bind-bind-host-to-a-certain-user/59899/4 "2021-12-09T04:06:58Z")

</div>

Closed on December 9, 2021, 4:06am UTC

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