# How can I set userId own application userId?

**URL:** <https://devforum.zoom.us/t/how-can-i-set-userid-own-application-userid/95940>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [September 28, 2023, 8:45am UTC](https://devforum.zoom.us/t/how-can-i-set-userid-own-application-userid/95940 "2023-09-28T08:45:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ok-soumen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ok-soumen/32/51904_2.png) [@ok-soumen](https://devforum.zoom.us/u/ok-soumen)\
**Post date:** [September 28, 2023, 8:45am UTC](https://devforum.zoom.us/t/how-can-i-set-userid-own-application-userid/95940/1 "2023-09-28T08:45:11Z")

</div>

Hi @vic.yang  
#zoomDevTeam  
could you please help me how can I set value  
zoom userId to own application userId ??  
I need to show avatar if i get both userId same then I able to set avatar could you please help me on that .  
Thx

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [September 28, 2023, 9:25am UTC](https://devforum.zoom.us/t/how-can-i-set-userid-own-application-userid/95940/2 "2023-09-28T09:25:38Z")

</div>

Hey @ok-soumen

Thanks for your feedback.

In the JWT payload, the `user_identity` field is used to store the user’s identity. You can access the corresponding value throughout the session by using the `userIdentity` attribute in the user structure.

> **[Authorization](https://developers.zoom.us/docs/video-sdk/auth/)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

> **[Participant | Zoom Video SDK for Web - 1.8.10](https://marketplacefront.zoom.us/sdk/custom/web/interfaces/Participant.html#userIdentity)**
>
> Documentation for Zoom Video SDK for Web - 1.8.10

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![ok-soumen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ok-soumen/32/51904_2.png) [@ok-soumen](https://devforum.zoom.us/u/ok-soumen)\
**Post date:** [September 28, 2023, 9:57am UTC](https://devforum.zoom.us/t/how-can-i-set-userid-own-application-userid/95940/3 "2023-09-28T09:57:30Z")

</div>

Thank you so much @vic.yang 🥰 😇

Hi @vic.yang But when I show multi user on a screen how can I show participent user avatar could you please guide me on that ?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/1/b1a7362f53acb7da27fffbf096752372b587d598.png)  
Thx

---

<div class="post-metadata">

**Author:** ![ok-soumen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ok-soumen/32/51904_2.png) [@ok-soumen](https://devforum.zoom.us/u/ok-soumen)\
**Post date:** [September 29, 2023, 1:55pm UTC](https://devforum.zoom.us/t/how-can-i-set-userid-own-application-userid/95940/4 "2023-09-29T13:55:35Z")

</div>

Hi @vic.yang could you please provide me some idea, how can I achieve It.  
Thx

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [September 29, 2023, 2:04pm UTC](https://devforum.zoom.us/t/how-can-i-set-userid-own-application-userid/95940/5 "2023-09-29T14:04:32Z")

</div>

Hey @ok-soumen

Did you mean the user’s avatar instead of the user’s video? To display the avatar or any other element on top of the video, you can overlay a transparent DOM element on the canvas. This way, the video underneath will still be visible.

Hope this suggestion helps you.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![ok-soumen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ok-soumen/32/51904_2.png) [@ok-soumen](https://devforum.zoom.us/u/ok-soumen)\
**Post date:** [September 29, 2023, 2:45pm UTC](https://devforum.zoom.us/t/how-can-i-set-userid-own-application-userid/95940/6 "2023-09-29T14:45:06Z")

</div>

Hi @vic.yang actually I need to do like Google meet when camera is disabled then need to show avatar, after when camera is enabled then show user video.

But in the userIdentity field have long string then it’s don’t give me whole value from currentUserInfo.

I need to replace zoom avatar field value to my current login user value .  
I try to modified visableparticipants array, I able to modified current Login user value but other participants users I unable to do that coz I unable to match userIdentity value to my own application value. ( in the userIdentity field have long string then it’s don’t give me whole value.)

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [September 30, 2023, 6:29am UTC](https://devforum.zoom.us/t/how-can-i-set-userid-own-application-userid/95940/7 "2023-09-30T06:29:49Z")

</div>

Hey @ok-soumen

Could you please simplify the field values to meet the length requirements? Alternatively, if you need to transmit or synchronize a large amount of data, you can utilize the [Command channel](https://developers.zoom.us/docs/video-sdk/web/command-channel/) function offered by Video SDK.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 30, 2023, 4:30pm UTC](https://devforum.zoom.us/t/how-can-i-set-userid-own-application-userid/95940/8 "2023-10-30T16:30:15Z")

</div>

Closed on October 30, 2023, 4:30pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
