How to generate meeting password?

I understand that I need to use the pre meeting service to schedule a meeting using the macOS SDK. How can I generate the password to be able to show it to the user before he submits the scheduled meeting? Is there something with the SDK that can do the job for me?

SDK Version
[v5.2.41735.0929]

Hi @tmiskiew,

Thanks for the post and pardon the late response. If the “Require a passcode when scheduling new meetings” is enabled on your account on the web portal, then the SDK will help to generate the passcode

You may refer to the implementation here: https://github.com/zoom/zoom-sdk-macos/blob/master/ZoomSDKSample/ZoomSDKSample/UI%20Interface/ZoomSDKScheduleWindowCtr.m

Thanks!