Help Center/ Meeting/ Client SDK Reference/ macOS SDK/ APIs/ Conference Information/ Determining Whether the Current User Is the Host
Updated on 2023-03-23 GMT+08:00

Determining Whether the Current User Is the Host

selfIsChairMan

API Description

This API is used to determine whether the current user is the host.

Precautions

  1. YES is returned only when the user is the host. NO is returned when the user is not the host or does not join the meeting.

Method Definition

1
- (BOOL)selfIsChairMan;

Parameter Description

None

Sample Code

1
2
// Determine whether the current user is a host.
[[HWMBizSdk getBizOpenApi] selfIsChairMan];