# setHost & setCoHost

**URL:** <https://devforum.zoom.us/t/sethost-setcohost/658>\
**Category:** Android\
**Tags:** htq, dc\
**Created:** [July 25, 2017, 1:04pm UTC](https://devforum.zoom.us/t/sethost-setcohost/658 "2017-07-25T13:04:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amir\_A](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@Amir\_A](https://devforum.zoom.us/u/Amir_A)\
**Post date:** [July 25, 2017, 1:04pm UTC](https://devforum.zoom.us/t/sethost-setcohost/658/1 "2017-07-25T13:04:10Z")

</div>

&nbsp;

How can we use the&nbsp;setHost &&nbsp;setCoHost methods in&nbsp;InMeetingUserInfo class?

Can they only be called by the host?

If so, is there a way to make an ordinary user a host/co-host in runtime?

---

<div class="post-metadata">

**Author:** ![Wei\_Guo1](https://avatars.discourse-cdn.com/v4/letter/w/ec9cab/32.png) [@Wei\_Guo1](https://devforum.zoom.us/u/Wei_Guo1)\
**Post date:** [July 25, 2017, 4:59pm UTC](https://devforum.zoom.us/t/sethost-setcohost/658/2 "2017-07-25T16:59:58Z")

</div>

Hi Amir,

only host can call this two method. you have to be a host if you want to either pass the host privilege or make someone else co-host.

Best

&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:16pm UTC](https://devforum.zoom.us/t/sethost-setcohost/658/3 "2020-08-21T17:16:53Z")

</div>

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


