# Max String length on Database column

**URL:** <https://forums.losant.com/t/max-string-length-on-database-column/3546>\
**Category:** Help\
**Tags:** data-table\
**Created:** [January 25, 2021, 7:17am UTC](https://forums.losant.com/t/max-string-length-on-database-column/3546 "2021-01-25T07:17:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Heath](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/heath/32/3036_2.png) [@Heath](https://forums.losant.com/u/Heath)\
**Post date:** [January 25, 2021, 2:43pm UTC](https://forums.losant.com/t/max-string-length-on-database-column/3546/3 "2021-01-25T14:43:29Z")

</div>

Hey @Suroor_Wijdan,

There’s a great [Losant Tip Post](https://forums.losant.com/t/implementing-user-roles-in-experiences/2183) that walks through implementing user roles in Experiences. This examples uses Experience User Tags to store User Roles.

Other than using Experience User Tags, my suggestion would be to use columns in a data table, rather than trying to store an entire JSON object.

Please let me know if there is anything else I can help with!

Thank you,  
Heath

---

_[View the full topic](https://forums.losant.com/t/max-string-length-on-database-column/3546)._
