# 关于最大用户名长度的问题

**URL:** <https://meta.discourse.org/t/question-about-max-username-length/80022>\
**Category:** Product Support\
**Created:** [2018 年2 月 7 日 15:18 UTC](https://meta.discourse.org/t/question-about-max-username-length/80022 "2018-02-07T15:18:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![Philip\_Colmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/philip_colmer/32/120245_2.png) [@Philip\_Colmer](https://meta.discourse.org/u/Philip_Colmer)\
发布日期： [2018 年2 月 7 日 15:18 UTC](https://meta.discourse.org/t/question-about-max-username-length/80022/1 "2018-02-07T15:18:08Z")

</div>

In [Usernames on top, lifting username length restrictions](https://meta.discourse.org/t/usernames-on-top-lifting-username-length-restrictions/14747), there is a lengthy discussion about lifting the max username length restriction.

The first post gives an example of the length being increased to 40, but [Usernames on top, lifting username length restrictions - #25 by codinghorror](https://meta.discourse.org/t/usernames-on-top-lifting-username-length-restrictions/14747/25) (post 25) says that it has been officially bumped from 15 to 20.

Is it safe to make it more than 20 characters? The reason I ask is because we’ve tied our Discourse implementation to our LDAP system for SSO, and we’re using the LDAP usernames as the Discourse usernames … and some of our users have got very long names, e.g. moorthy.baskaravenkatraman-sambamoorthy.

What is the maximum length that the system has been tested with? I don’t want to break Discourse by putting in a value that is too high …

Thanks.

---

_[View the full topic](https://meta.discourse.org/t/question-about-max-username-length/80022)._
