# Web SDK 1.7.5 - Rename other user

**URL:** <https://devforum.zoom.us/t/web-sdk-1-7-5-rename-other-user/13603>\
**Category:** Web\
**Created:** [April 17, 2020, 12:33am UTC](https://devforum.zoom.us/t/web-sdk-1-7-5-rename-other-user/13603 "2020-04-17T00:33:52Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmb](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tmb/32/6225_2.png) [@tmb](https://devforum.zoom.us/u/tmb)\
**Post date:** [April 17, 2020, 12:33am UTC](https://devforum.zoom.us/t/web-sdk-1-7-5-rename-other-user/13603/1 "2020-04-17T00:33:52Z")

</div>

I’m trying to rename another user whilst being the co-host using the `.rename()` method. Is this possible? Or do you need to be the host to re-name from the Web SDK.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 17, 2020, 6:59am UTC](https://devforum.zoom.us/t/web-sdk-1-7-5-rename-other-user/13603/2 "2020-04-17T06:59:47Z")

</div>

Hey @tmb,

Only the host can rename other participants.

Also, double check you have the allow participants to rename themselves setting turned on:

> **[Managing participants in a meeting](https://support.zoom.us/hc/en-us/articles/115005759423-Managing-participants-in-a-meeting)**
>
> Overview
> As the host in a meeting, you can manage the participants. By default, any participant in a meeting can share their video, screen, and audio. If you want to limit who can share their scree...

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tmb](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tmb/32/6225_2.png) [@tmb](https://devforum.zoom.us/u/tmb)\
**Post date:** [April 17, 2020, 3:32pm UTC](https://devforum.zoom.us/t/web-sdk-1-7-5-rename-other-user/13603/3 "2020-04-17T15:32:31Z")

</div>

@tommy Weird, that contradicts what the docs here say: [https://support.zoom.us/hc/en-us/articles/360040324512-Roles-in-a-meeting](https://support.zoom.us/hc/en-us/articles/360040324512-Roles-in-a-meeting)

Is this a Web SDK thing or does Zoom overall not allow it?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 20, 2020, 5:19pm UTC](https://devforum.zoom.us/t/web-sdk-1-7-5-rename-other-user/13603/4 "2020-04-20T17:19:20Z")

</div>

Hey @tmb,

Some features on the Zoom Web Client are not on the Web SDK.

Are you seeing an error when trying to rename an attendee as the co host?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![mattapperson](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mattapperson/32/3731_2.png) [@mattapperson](https://devforum.zoom.us/u/mattapperson)\
**Post date:** [May 2, 2020, 11:02pm UTC](https://devforum.zoom.us/t/web-sdk-1-7-5-rename-other-user/13603/5 "2020-05-02T23:02:49Z")

</div>

Not sure about @tmb but when as co-host I try to rename using the web SDK 1.7.5 I get no error, but the user is never renamed. using the userId and userName from calling getAttendeeslist

When running rename as host or co-host it fails to rename the user

Edit:  
In diving into the web SDK source and enabling debug mode… at least part of the issue is the call to `this.zmg_isMeetingHost(e, "rename")` returns false for co-host, meaning only a host can rename. In addition, even as a host that per the debug output I get a success callback

```auto
--- succesCallBack ---
zoomus-websdk.umd.min.js:10517 {method: "rename", status: true, errorCode: 0, errorMessage: null, result: null}

```

The user is still never renamed

---

<div class="post-metadata">

**Author:** ![mattapperson](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mattapperson/32/3731_2.png) [@mattapperson](https://devforum.zoom.us/u/mattapperson)\
**Post date:** [May 3, 2020, 12:31pm UTC](https://devforum.zoom.us/t/web-sdk-1-7-5-rename-other-user/13603/6 "2020-05-03T12:31:52Z")

</div>

Update #2

The rename call exposed by the Rename method of the SDK are not in fact on in the same. The rename method in the SDK as of 1.7.6 calls with params of

```auto
    id: e.detail.userId,
    dn: e.detail.newName,
    olddn: e.detail.oldName

```

when it needs to call with params:

```auto
    id: e.detail.userId,
    dn2: i.Base64.encodeURI(e.detail.newName),
    olddn2: i.Base64.encodeURI(e.detail.oldName)

```

This is still in addition to the bug where co-hosts can not rename

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 6, 2020, 8:21pm UTC](https://devforum.zoom.us/t/web-sdk-1-7-5-rename-other-user/13603/7 "2020-05-06T20:21:22Z")

</div>

Hey @mattapperson,

Can you private message me your [Web SDK signature](https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/signature) so I can debug the rename issue?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![mattapperson](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mattapperson/32/3731_2.png) [@mattapperson](https://devforum.zoom.us/u/mattapperson)\
**Post date:** [May 6, 2020, 9:56pm UTC](https://devforum.zoom.us/t/web-sdk-1-7-5-rename-other-user/13603/8 "2020-05-06T21:56:05Z")

</div>

What is there to debug? I took your SDK, de-minified it. Made the above changes. Plus removed the host check in the code. Now it works. So a signature is not needed to debug. If it does, that would mean the host/co-host check is client side only… this would be terrifying.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 12, 2020, 12:27am UTC](https://devforum.zoom.us/t/web-sdk-1-7-5-rename-other-user/13603/9 "2020-05-12T00:27:06Z")

</div>

Hey @mattapperson,

With your signature, I can decode it to find information like the meetingID, your JWT API Key, timestamp, and role so I can debug further. The host / co host check is not client side. 🙂 The signature is just an easy way for the Zoom team to debug / reproduce issues.

Happy to hear you got it working though! 🙂

Thanks,  
Tommy

---

<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, 9:14pm UTC](https://devforum.zoom.us/t/web-sdk-1-7-5-rename-other-user/13603/10 "2020-08-21T21:14:58Z")

</div>

Closed on August 21, 2020, 9:14pm UTC


