# Userid as Row owners in Private chats

**URL:** <https://community.glideapps.com/t/userid-as-row-owners-in-private-chats/69598>\
**Category:** Ask for Help\
**Created:** [January 16, 2024, 4:42am UTC](https://community.glideapps.com/t/userid-as-row-owners-in-private-chats/69598 "2024-01-16T04:42:34Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ainulfi3](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ainulfi3/32/64496_2.png) [@ainulfi3](https://community.glideapps.com/u/ainulfi3)\
**Post date:** [January 16, 2024, 4:42am UTC](https://community.glideapps.com/t/userid-as-row-owners-in-private-chats/69598/1 "2024-01-16T04:42:34Z")

</div>

For the chat components, all tutorials out there only use email as the senderid and receiverid.

how do I achieve this using userid instead of email for the senderid and receiverid?

this is because my project have public profile without any sensitive data. (means no email column)

i tried using userid in senderid and receiverid, it only works if i didnt set these 2 columns as row owners, but i also want my chats to be private, after i set these 2 as row owners, it wont show anything to related user.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [January 16, 2024, 4:49am UTC](https://community.glideapps.com/t/userid-as-row-owners-in-private-chats/69598/2 "2024-01-16T04:49:46Z")

</div>

Row Owners only works with emails or Roles. It does not work with any other type of value, so in your case those rows become unowned and inaccessible.

---

<div class="post-metadata">

**Author:** ![ainulfi3](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ainulfi3/32/64496_2.png) [@ainulfi3](https://community.glideapps.com/u/ainulfi3)\
**Post date:** [January 16, 2024, 7:44am UTC](https://community.glideapps.com/t/userid-as-row-owners-in-private-chats/69598/3 "2024-01-16T07:44:52Z")

</div>

i see. than i would have to populate email in my public user table for now… would it still work if I set in setting to hide real email address ?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [January 16, 2024, 11:10am UTC](https://community.glideapps.com/t/userid-as-row-owners-in-private-chats/69598/4 "2024-01-16T11:10:47Z")

</div>

If you are collecting anonymous emails and writing the anonymous email in all of your tables, then yes, row owners would still work. Glide knows who that anonymous email belongs to.

---

<div class="post-metadata">

**Author:** ![ainulfi3](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ainulfi3/32/64496_2.png) [@ainulfi3](https://community.glideapps.com/u/ainulfi3)\
**Post date:** [January 17, 2024, 3:40am UTC](https://community.glideapps.com/t/userid-as-row-owners-in-private-chats/69598/5 "2024-01-17T03:40:17Z")

</div>

thanks! that means any marketing mail should work as well right

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [January 17, 2024, 6:43am UTC](https://community.glideapps.com/t/userid-as-row-owners-in-private-chats/69598/6 "2024-01-17T06:43:54Z")

</div>

Anonymous email addresses are not real email addresses. You cannot send email to them.

---

<div class="post-metadata">

**Author:** ![ainulfi3](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ainulfi3/32/64496_2.png) [@ainulfi3](https://community.glideapps.com/u/ainulfi3)\
**Post date:** [January 17, 2024, 8:14am UTC](https://community.glideapps.com/t/userid-as-row-owners-in-private-chats/69598/7 "2024-01-17T08:14:06Z")

</div>

hmm…even if we use email integration? seems like id just have to add another field for email2

I just need to use anonymous email in chat table since glide will still be able to recognize. and i still requires real user email in protected user table for email marketing.

or you have any other good approach?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [January 17, 2024, 12:34pm UTC](https://community.glideapps.com/t/userid-as-row-owners-in-private-chats/69598/8 "2024-01-17T12:34:54Z")

</div>

You can try it, but I’m pretty sure you need real email addresses to send emails. At least the last I remember hearing.

I guess I would just have two email columns (anonymous and real) if that’s what it takes.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [January 24, 2024, 12:35pm UTC](https://community.glideapps.com/t/userid-as-row-owners-in-private-chats/69598/9 "2024-01-24T12:35:14Z")

</div>

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