Does IsHost return true for co-hosts?

Hey there,

Does the IsHost from IUserInfo in the Linux SDK (link) return true if the participant is a co-host?

Thanks

Hey @chunsiong.zoom @donte.zoom just a friendly ping to got your thoughts on this.

@donte.zoom another friendly ping : D

@noahviktorschenk

isHost should only return true for the meeting host. To identify co-hosts, you can use either the getUserRole() method or the onCoHostChangeNotification callback:

https://marketplacefront.zoom.us/sdk/meeting/linux/class_i_user_info.html#a4dd3760d6fde8ad685d39fbcb425e1b7

GetUserRole()

https://marketplacefront.zoom.us/sdk/meeting/linux/class_i_user_info.html#a65990cb2b9664a38cbb42677a21af333

enum UserRole

onCoHostChangeNotification()

https://marketplacefront.zoom.us/sdk/meeting/linux/class_i_meeting_participants_ctrl_event.html#ae5815d653de59adfaeeb390fd003c8f1

Please let me know if this helps or if you need any further clarification.

1 Like

Ah, perfect, thank you so much.