How to expel all attenders

Hi, engineers
I wondered how to expel all attenders with regular function. I found only one way that is with function of “expeluser(userid)”, and put the function in a cycle of all participants list . but it always can not clear completely. I must execute my way more times till the attenders are expelled. Is there not a function just like “ExpelAllUsers” to solve it?
How should I do in code?


Great question! To start, can you share which version of the SDK you are using?

Thanks for your reply . I am using major version of 5.10 at present . But There is no function of “ExpelAllUsers” in all of “Meeting SDK” versions.