Windows Username maximum length

南笙酒味 提交于 2019-12-03 09:26:50

The maximum lengths are hash defined in lmcons.h. DNLEN is the maximum domain length and UNLEN is the maximum user name length.

In the version of this file I have on my XP machine (installed as part of Visual Studio 8), DNLEN = 15 and UNLEN = 256.

There is a constant UNLEN which is defined in Lmcons.h that defines the maximum length of a username

compmgmt.msc allows usernames for local account at max with 20 characters. dsa.msc allows domain user names to be 256.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!