# Howto get my own user id?

**URL:** <https://devforum.zoom.us/t/howto-get-my-own-user-id/18343>\
**Category:** Windows\
**Created:** [May 19, 2020, 7:29pm UTC](https://devforum.zoom.us/t/howto-get-my-own-user-id/18343 "2020-05-19T19:29:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sam.decrock](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sam.decrock/32/8656_2.png) [@sam.decrock](https://devforum.zoom.us/u/sam.decrock)\
**Post date:** [May 20, 2020, 7:01pm UTC](https://devforum.zoom.us/t/howto-get-my-own-user-id/18343/4 "2020-05-20T19:01:41Z")

</div>

Ok. It works:

```
var me = participantsController.GetUserByUserID(0);
Console.WriteLine("I am user id: " + me.GetUserID() + ", name: " + me.GetUserNameW());
Console.WriteLine("Muting myself. ");
videoController.MuteVideo();
audioController.MuteAudio(me.GetUserID(), true);

```

I think I tried muting myself with userId = 0, but that didn’t work off course:

`audioController.MuteAudio(0, true);`

---

_[View the full topic](https://devforum.zoom.us/t/howto-get-my-own-user-id/18343)._
