# custCreate accounts and native windows SDK

**URL:** <https://devforum.zoom.us/t/custcreate-accounts-and-native-windows-sdk/15106>\
**Category:** Windows\
**Created:** [April 27, 2020, 7:09pm UTC](https://devforum.zoom.us/t/custcreate-accounts-and-native-windows-sdk/15106 "2020-04-27T19:09:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bogdan.lytvynovskyi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bogdan.lytvynovskyi/32/6781_2.png) [@bogdan.lytvynovskyi](https://devforum.zoom.us/u/bogdan.lytvynovskyi)\
**Post date:** [April 27, 2020, 7:09pm UTC](https://devforum.zoom.us/t/custcreate-accounts-and-native-windows-sdk/15106/1 "2020-04-27T19:09:14Z")

</div>

**Description**  
Trying to join meeting with custCreate account.

Attempt #1 (StartParam)  
StartParam params;  
params.userType = SDK\_UT\_APIUSER;  
auto &api\_user\_params = params.param.apiuserStart;  
api\_user\_params.meetingNumber = meeting\_number;  
api\_user\_params.userID = user\_id;  
api\_user\_params.userToken = user\_token; // NOT ZAK  
api\_user\_params.userName = user\_name;

Joins as anonymous **(bogus values can be provided in place of user\_id and user\_token)** - while expected to join as custCreate user (custCreate user has our avatar set, while anonymous is not). _This will fail if host requires user to be logged in or if user requires password_

Attempt #2 (StartParam - without login)  
StartParam params;  
params.userType = SDK\_UT\_WITHOUT\_LOGIN;  
params.param.withoutloginStart.userID = user\_id;  
params.param.withoutloginStart.userZAK = ZAK;  
params.param.withoutloginStart.userToken = user\_token;  
params.param.withoutloginStart.zoomuserType = ZoomUserType\_APIUSER;  
params.param.withoutloginStart.meetingNumber = meeting\_number;  
params.param.withoutloginStart.userName = user\_name;

Joins as a custCreate user - great success. We are able to join meeting which requires us to be logged in. _Still will not work for meeting which requires password._

Attempt #3 (JoinParam)  
JoinParam params;  
params.userType = SDK\_UT\_APIUSER; // Same happens for SDK\_UT\_WITHOUT\_LOGIN  
auto& api\_user\_params = params.param.apiuserJoin;  
api\_user\_params.meetingNumber = meeting\_number;  
api\_user\_params.userName = user\_name;  
api\_user\_params.toke4enfrocelogin = ZAK;  
api\_user\_params.psw = meeting\_password;

Not able to join meeting which requires user to be authenticated (which implies it tries to join as anonymous even though ZAK is provided).

The last one should suffice to cover all possible scenarios (waiting room, password protected meetings, requirement on authenticated users), but it plain and simple does not work.

**Which version?**  
4.x 5.x Windows SDK

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 1, 2020, 3:58am UTC](https://devforum.zoom.us/t/custcreate-accounts-and-native-windows-sdk/15106/2 "2020-05-01T03:58:46Z")

</div>

Hi Bogdan,

Thanks for the post and pardon the late reply. Your attempt #3 should be the desired way, and the param.userType should be SDK\_UT\_WITHOUT\_LOGIN, and the token4enforcelogin is the ZAK token. If it is still not working ,could you provide the SDK log so that we could further investigate?

Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 8:59pm UTC](https://devforum.zoom.us/t/custcreate-accounts-and-native-windows-sdk/15106/3 "2020-08-21T20:59:39Z")

</div>

Closed on August 21, 2020, 8:59pm UTC


