Skip to content

Conversation

@smg-ca
Copy link

@smg-ca smg-ca commented Nov 5, 2025

There's no clue for the oldest and most restrictive username style (sAMAccountName) to not start with a upper-/lowercase or number character, so it should be used the alpha-numeric regex here.

Disallowed characters are: " / \ [ ] : ; | = , + * ? < > and shouldn't be longer than 20 chars.
Source: https://learn.microsoft.com/en-us/windows/win32/adschema/a-samaccountname

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant