# How to hide user ID

**URL:** <https://community.sendbird.com/t/how-to-hide-user-id/2144>\
**Category:** Android\
**Tags:** chatsdk\
**Created:** [April 24, 2021, 3:32pm UTC](https://community.sendbird.com/t/how-to-hide-user-id/2144 "2021-04-24T15:32:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sakkk](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@sakkk](https://community.sendbird.com/u/sakkk)\
**Post date:** [April 24, 2021, 3:32pm UTC](https://community.sendbird.com/t/how-to-hide-user-id/2144/1 "2021-04-24T15:32:42Z")

</div>

In the community chat activity screen, if I click the user icons I can see the user name and its ID displayed in the popup screen, is there any option to hide the user ID and its value from displaying it.

---

<div class="post-metadata">

**Author:** ![Doo\_Rim](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/doo_rim/32/239_2.png) [@Doo\_Rim](https://community.sendbird.com/u/Doo_Rim)\
**Post date:** [April 25, 2021, 11:50pm UTC](https://community.sendbird.com/t/how-to-hide-user-id/2144/2 "2021-04-25T23:50:13Z")

</div>

Hi, @sakkk  
I guess you use UIKit now.  
We have UIKit community!  
Next time please leave your question here.

> **[Sendbird Chat UIKit](https://community.sendbird.com/c/sendbird-chat-uikit/34)**
>
> Questions and answers about the Sendbird Chat UIKit!

```
return new OpenChannelFragment.Builder(openChannel.getUrl(), themeResId)
                ....
                .setUseUserProfile(false)
                .build();

```

You can disable UserProfile using above methods!

---

<div class="post-metadata">

**Author:** ![sakkk](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@sakkk](https://community.sendbird.com/u/sakkk)\
**Post date:** [April 30, 2021, 3:18am UTC](https://community.sendbird.com/t/how-to-hide-user-id/2144/3 "2021-04-30T03:18:40Z")

</div>

Yes, it’s working …but is there any option to hide the User ID section alone …?  
the popup should be there with the user name and the image but I wanted the ID to be hidden…let me know if there any way to do it.

---

<div class="post-metadata">

**Author:** ![Doo\_Rim](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/doo_rim/32/239_2.png) [@Doo\_Rim](https://community.sendbird.com/u/Doo_Rim)\
**Post date:** [April 30, 2021, 5:31am UTC](https://community.sendbird.com/t/how-to-hide-user-id/2144/4 "2021-04-30T05:31:46Z")

</div>

Hi, @sakkk  
Then, you create your own profile dialog and use `setOnProfileClickListener(OnItemClickListener<BaseMessage> profileClickListener)`

Unfortunately, there is no way to hide `userId` only.

---

<div class="post-metadata">

**Author:** ![Gunho\_Cho](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/gunho_cho/32/1200_2.png) [@Gunho\_Cho](https://community.sendbird.com/u/Gunho_Cho)\
**Post date:** [May 1, 2021, 8:18pm UTC](https://community.sendbird.com/t/how-to-hide-user-id/2144/5 "2021-05-01T20:18:50Z")

</div>

@sakkk  
You may hide relevant views without defining a new dialog class if you’re looking for a shortcut which may not look cool, though.  
Please, check line 54~56 which is based on [UIKit opensource](https://github.com/sendbird/sendbird-uikit-android-sources/blob/80358c9560978cd8820a47f006c804a128549e60/uikit-custom-sample/src/main/java/com/sendbird/uikit/customsample/groupchannel/activities/CustomChannelActivity.java#L16).

 ![image](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/7/713c0f51686650cd5af7ae366a2bca3a114a31c6.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/sendbird/original/2X/8/8810c979bd8716ec214dcb346896fc1ef68660d8.png)

---

<div class="post-metadata">

**Author:** ![sakkk](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@sakkk](https://community.sendbird.com/u/sakkk)\
**Post date:** [May 2, 2021, 3:19am UTC](https://community.sendbird.com/t/how-to-hide-user-id/2144/6 "2021-05-02T03:19:12Z")

</div>

Thanks a lot… this is what I was looking for…you saved my time and life 🙂
