1

Is there any setting out of the box that allows Sitecore logins to differentiate between capital and lowercase letters so the username has to match exactly?

1 Answer 1

8

No.

There is no out of the box setting for this. In general, the overall consensus on the web is - that having usernames such as user1, UsEr1, USER1 in your membership database is... should we say "less than ideal".

Likely you would run into all sorts of trouble, even if you were to implement it.

Additional reading:

edit

Out of curiosity, I took a deep dive into Sitecore Security code to see if your scenario would be supported even. And the answer is; it will not be supported.

Here is a snippet of code from ItemAuthorizationHelper.

account.Name.Equals(item.Security.GetOwner(), StringComparison.InvariantCultureIgnoreCase)

Sitecore, internally, treats all Account Names and User Names as case-insensitive. If you were to have user names like User1 and USER1 they would be indistinguishable from a Sitecore perspective - not a place you want to be.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.