How to change username of a participant after joining a meeting?

Description
How can change my display name using the macOS SDK? I found a method?

I found this for iOS https://zoom.github.io/zoom-sdk-ios/category_mobile_r_t_c_meeting_service_07_user_08.html#abf553cd2675f0bd6e74f29497ebd8076; 3 I need the same for macOS.

Which version?
4.6.21666.0427 - Latest and greatest.

1 Like

Hi @tmiskiew,

Thanks for the post. If you would like to change the username of a participant, you may leverage the following interface in ZoomSDKMeetingActionController(https://zoom.github.io/zoom-sdk-macos/interface_zoom_s_d_k_meeting_action_controller.html#ad088d89806e6994d032dea94ea0b7093):

/**
 * @brief Change user's screen name in the meeting.
 * @param userID The ID of user whose screen name will be changed. Normal participants can change only their personal screen name while the host/co-host can change all participants' names. 
 * @param name The new screen name. 
 * @return If the function succeeds, it will return ZoomSDKError_success, otherwise not.
 */
- (ZoomSDKError)changeUserName:(unsigned int)userID newName:(NSString*)name;

Hope this helps. Thanks!

1 Like

Thank you, it works!

Glad to hear it works. Happy Zooming! :slight_smile: