I want to validate the down-level logon name entered by the user.
As stated, it NetBIOS domain name is \ u0026 user account name .
There are some limitations:
NetBIOS domain names can contain all alphanumeric characters except extended characters listed in the "intact character" section. Names may have a period, but names can not begin with duration.
minimum name length 1 character maximum name length 15 characters
It can be displayed with the [a-zA-Z0- 9] [a-zA-Z0- 9]. {0,14}
There are also some limitations:
The logon name can be up to 104 characters. However, it is not practical to use logon names that are longer than 64 characters.
There are no characters in the logon names invalid characters are "/ \ [] :; =, + *?
the names of the logon, spaces, periods , Dash and underscores, but this is not usually the good idea to use empty space in account names.
This [^ "/ \\\ [\]: | | =, + *?
As I have said nothing at least length, I put 1 letter there. I have not met the system, which allows blank user account name.
Finally, it creates a [a-zA-Z0- 9] [a-zA-Z0-9] simultaneously. {0, 14} \\ [^ "NetBIOS domain name \" to match > {
] User Account Name .
However, these are all technical limitations, which are rarely used in real life. For example, in .
The NetBIOS domain name has become extremely frustrated, as well as the
user account name. The user's account's general maximum length is not 64, 104 and in the old Windows 2000 it is also 20.
More realistic Can [a-zA-Z0- 9] {1,15} \\ [a-zA-Z0-9 ._-] {1,64}
, but that's for you.
Comments
Post a Comment